test search
This commit is contained in:
parent
53f5d8f256
commit
7bfcb58878
|
|
@ -41,7 +41,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'queue' => env('SCOUT_QUEUE', true),
|
||||
'queue' => env('SCOUT_QUEUE', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue