4
0
forked from crowetic/commerce

Update get-search-variables.ts (#846)

This commit is contained in:
Catalin Pinte 2022-10-13 16:03:58 +03:00 committed by GitHub
parent 990bdf1e6a
commit a5b367a747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ export const getSearchVariables = ({
let query = ''
if (search) {
query += `product_type:${search} OR title:${search} OR tag:${search} `
query += `product_type:"${search}" OR title:"${search}" OR tag:"${search}" `
}
if (brandId) {