1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00

Fix table block search

This commit is contained in:
Mel O'Hagan 2022-10-04 13:55:43 +01:00
parent 249a9ee075
commit 3451a1817d

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