diff --git a/packages/server/src/api/controllers/row/internalSearch.js b/packages/server/src/api/controllers/row/internalSearch.js index cc82822bfd..7345ec3965 100644 --- a/packages/server/src/api/controllers/row/internalSearch.js +++ b/packages/server/src/api/controllers/row/internalSearch.js @@ -159,7 +159,7 @@ class QueryBuilder { } // Wrap in quotes - if (originalType === "string" && !isNaN(value)) { + if (originalType === "string" && !isNaN(value) && !escape) { value = `"${value}"` } else if (hasVersion && wrap) { value = originalType === "number" ? value : `"${value}"`