test search

This commit is contained in:
merdan 2023-09-15 14:27:52 +05:00
parent 53f5d8f256
commit 7bfcb58878
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ return [
|
*/
'queue' => env('SCOUT_QUEUE', true),
'queue' => env('SCOUT_QUEUE', false),
/*
|--------------------------------------------------------------------------

View File

@ -480,7 +480,7 @@ class ProductRepository extends WProductRepository
$results = app(ProductFlatRepository::class)->getModel()::search(implode(' OR ', $queries),
function($meilisearch, $query, $options) use ($term, $channel, $locale){
$options['filter'] = "(locale = $locale) AND (channel = $channel)";
// $options['filter'] = "(locale = $locale) AND (channel = $channel)";
$options['sort'] = ['name:asc'];
# sort direction