This commit is contained in:
olivermrbl committed 2021-03-01 11:46:32 +01:00
1 parent 6335b04bc4
commit 8a62141568
1 file changed
-1
-1
View File
@@ -120,7 +120,6 @@ class ProductService extends BaseService {
new Brackets(qb => { new Brackets(qb => {
qb.where(`product.description ILIKE :q`, { q: `%${q}%` }) qb.where(`product.description ILIKE :q`, { q: `%${q}%` })
.orWhere(`product.title ILIKE :q`, { q: `%${q}%` }) .orWhere(`product.title ILIKE :q`, { q: `%${q}%` })
.orWhere(`product.description ILIKE :q`, { q: `%${q}%` })
.orWhere(`variant.title ILIKE :q`, { q: `%${q}%` }) .orWhere(`variant.title ILIKE :q`, { q: `%${q}%` })
.orWhere(`variant.sku ILIKE :q`, { q: `%${q}%` }) .orWhere(`variant.sku ILIKE :q`, { q: `%${q}%` })
.orWhere(`collection.title ILIKE :q`, { q: `%${q}%` }) .orWhere(`collection.title ILIKE :q`, { q: `%${q}%` })