search fix
This commit is contained in:
parent
56461e3200
commit
ab4bbfef18
|
|
@ -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()){
|
||||
|
|
|
|||
Loading…
Reference in New Issue