Fix table block search

This commit is contained in:
Mel O'Hagan 2022-10-04 13:55:43 +01:00
parent d60f070d6f
commit 91d00ecdb4
1 changed files with 1 additions and 1 deletions

View File

@ -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}"`