search refactor3
This commit is contained in:
parent
89f94160a2
commit
763f45ade9
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue