search refactor3

This commit is contained in:
merdan 2023-08-15 14:00:38 +05:00
parent 89f94160a2
commit 763f45ade9
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ class ProductRepository extends PRepository
$locale = core()->getRequestedLocaleCode();
$options['filters'] = "(locale = $locale) AND (channel = $channel)";
$options['filter'] = "(locale = $locale) AND (channel = $channel)";
$options['sort'] = ['name:asc'];
# sort direction