search suggestions start
This commit is contained in:
parent
a2f887c764
commit
ab2854951a
|
|
@ -127,7 +127,6 @@ class Products extends ProductController
|
|||
|
||||
$brands = $brandRepository->getModel()::search(implode(' OR ', $queries))
|
||||
->where('status',1)
|
||||
->where('name','like','%' . urldecode($key) . '%')
|
||||
->orderBy('name','asc')
|
||||
->take(10)
|
||||
->get('id','name');
|
||||
|
|
|
|||
Loading…
Reference in New Issue