mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Handle undefined filters
This commit is contained in:
parent
6c6a49f89a
commit
0b015f4d90
@ -208,7 +208,7 @@ module.exports = class sqliteDatabase extends Database {
|
||||
fields = [fields];
|
||||
}
|
||||
if (meta.filters) {
|
||||
Object.assign(filters, meta.filters);
|
||||
filters = Object.assign({}, filters, meta.filters);
|
||||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
Loading…
Reference in New Issue
Block a user