mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 19:21:23 +00:00
Update get-search-variables.ts (#846)
This commit is contained in:
@@ -11,7 +11,7 @@ export const getSearchVariables = ({
|
|||||||
let query = ''
|
let query = ''
|
||||||
|
|
||||||
if (search) {
|
if (search) {
|
||||||
query += `product_type:${search} OR title:${search} OR tag:${search} `
|
query += `product_type:"${search}" OR title:"${search}" OR tag:"${search}" `
|
||||||
}
|
}
|
||||||
|
|
||||||
if (brandId) {
|
if (brandId) {
|
||||||
|
Reference in New Issue
Block a user