fix: Filter numeric columns by value

No need to use = to filter numeric values by their value
This commit is contained in:
Faris Ansari 2019-04-16 12:43:21 +05:30
parent 007579f55e
commit 944010d113

View File

@ -150,6 +150,13 @@ function guessFilter(keyword = '') {
}
}
if (isNumber(compareString)) {
return {
type: 'equals',
text: parseInt(keyword, 10)
};
}
if (keyword.startsWith('!=')) {
if (isNumber(compareString)) {
return {