mirror of https://github.com/Fabio286/antares.git
fix: query failure when a filter with a numeric value is used
This commit is contained in:
parent
91788054e6
commit
69cd083054
|
@ -131,6 +131,9 @@ export default {
|
|||
value = '"' + filter.value + '"';
|
||||
}
|
||||
|
||||
if (isNumeric && value.length === 0)
|
||||
value = '""';
|
||||
|
||||
return `${filter.field} ${filter.op} ${value}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue