search suggestions start
This commit is contained in:
parent
d03c0d90a7
commit
e86edbf90c
|
|
@ -146,7 +146,7 @@ class Products extends ProductController
|
||||||
->where('channel', $channel)
|
->where('channel', $channel)
|
||||||
->where('locale', $locale)
|
->where('locale', $locale)
|
||||||
->take(10)
|
->take(10)
|
||||||
->query(fn ($query) => $query->select('id','name',DB::raw('"product" as type' ))->orderBy('name'))
|
->query(fn ($query) => $query->select('id','name',DB::raw('"product" as "type"' ))->orderBy('name'))
|
||||||
->get();;
|
->get();;
|
||||||
|
|
||||||
return $products;
|
return $products;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue