fix: query failure when a filter with a numeric value is used

This commit is contained in:
Giulio Ganci 2021-10-18 21:13:19 +02:00
parent 91788054e6
commit 69cd083054
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ export default {
value = '"' + filter.value + '"';
}
if (isNumeric && value.length === 0)
value = '""';
return `${filter.field} ${filter.op} ${value}`;
}
}