search suggestions start

This commit is contained in:
merdan 2022-04-16 20:44:49 +05:00
parent a2f887c764
commit ab2854951a
1 changed files with 0 additions and 1 deletions

View File

@ -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');