fix: do not pass empty values to the filter
This commit is contained in:
parent
303ba2daa3
commit
7d6957952e
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export default class WebFormList {
|
|||
}
|
||||
|
||||
add_filter(field, value, fieldtype) {
|
||||
if (!value && field in this.filters) {
|
||||
if (!value) {
|
||||
delete this.filters[field]
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue