mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: query failure when a filter with a numeric value is used
This commit is contained in:
@ -131,6 +131,9 @@ export default {
|
||||
value = '"' + filter.value + '"';
|
||||
}
|
||||
|
||||
if (isNumeric && value.length === 0)
|
||||
value = '""';
|
||||
|
||||
return `${filter.field} ${filter.op} ${value}`;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user