fix: Filter numeric columns by value
No need to use = to filter numeric values by their value
This commit is contained in:
parent
007579f55e
commit
944010d113
@ -150,6 +150,13 @@ function guessFilter(keyword = '') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isNumber(compareString)) {
|
||||||
|
return {
|
||||||
|
type: 'equals',
|
||||||
|
text: parseInt(keyword, 10)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (keyword.startsWith('!=')) {
|
if (keyword.startsWith('!=')) {
|
||||||
if (isNumber(compareString)) {
|
if (isNumber(compareString)) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user