This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.