Merge pull request #905 from jitendra-webkul/jitendra
Fixed product repository search index issue
This commit is contained in:
commit
2e57a12ac5
|
|
@ -468,7 +468,7 @@ class ProductRepository extends Repository
|
|||
->where('flat_variants.locale', $locale);
|
||||
});
|
||||
|
||||
if (isset($params['sort'])) {
|
||||
if (isset($params['search'])) {
|
||||
$qb->where('product_flat.name', 'like', '%' . urldecode($params['search']) . '%');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue