search fix

This commit is contained in:
merdan 2023-09-15 15:16:19 +05:00
parent c4fe40ebe6
commit a9015ac8a5
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class SearchController extends V1Controller
$locale = core()->getRequestedLocaleCode();
$products = $this->productFlatRepository->getModel()::search(implode(' OR ', $key))
->where('locale', $locale)
// ->where('locale', $locale)
// ->addSelect(DB::raw("\'product\' as type" ))