oliver63178
oliver63178

I have this code under listExtendRecords() however with this code I am unable to use the search function of toolbar, how do I edit the listExtendRecords to accept the inputs from the toolbar and be able to add like wildcard on the query

public function listExtendRecords($records) {
        $products = Product::orderBy("updated_at", "DESC")->orderBy("update_time", "DESC")->paginate(20);
        return $products;
}

Last updated

1-1 of 1