search fix

This commit is contained in:
merdan 2023-09-15 15:18:51 +05:00
parent 56461e3200
commit ab4bbfef18
1 changed files with 4 additions and 4 deletions

View File

@ -75,10 +75,10 @@ class SearchController extends V1Controller
->take(10)
->query(fn ($query) => $query->select('id','name','product_id','description'))
->where('status', 1)
->where('visible_individually', 1)
// ->orderBy('name')
// ->take(10)
// ->where('status', 1)
// ->where('visible_individually', 1)
// ->orderBy('name')
// ->take(10)
->get();
if($products->count()){