mirror of
https://github.com/vercel/commerce.git
synced 2025-07-24 10:41:23 +00:00
Update get-search-variables.ts (#846)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user