We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0a78e5 + 8306c45 commit da34c79Copy full SHA for da34c79
lib/modules/database.js
@@ -111,9 +111,10 @@ class DatabaseQuery {
111
}
112
Object.keys(this.filters)
113
.forEach(key => {
114
- const filter = this.filters[key];
+ let filter = this.filters[key];
115
if (filter) {
116
- const filterArgs = ([key].concat(filter)).join(argsSeparator)
+ const cleanFilters = filter.filter((f) => typeof f !== "undefined");
117
+ const filterArgs = ([key].concat(cleanFilters)).join(argsSeparator);
118
modifiers.push(filterArgs);
119
120
})
0 commit comments