menu brand links test ready

This commit is contained in:
merdan 2022-09-23 17:07:24 +05:00
parent 29621dc85f
commit 2b6b27318b
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ class SearchController extends V1Controller
$locale = core()->getRequestedLocaleCode();
$products = $this->productFlatRepository->getModel()::search(implode(' OR ', $key))
->where('locale', $locale)
// ->where('channel', $channel)
// ->where('locale', $locale)
->take(10)
->query(fn ($query) => $query->select('id','name','product_id','description')
->where('status', 1)