Fixed #1087 - DataTable global filter is reset when applying other filters

Fixes #1087

Co-authored-by: mertsincan <sincan.mert@gmail.com>
pull/1281/head
Ahmed Kandil 2021-05-17 02:19:24 +02:00 committed by GitHub
parent 10348594f3
commit 25af520e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -375,8 +375,11 @@ export default {
this.updateEditingRowKeys(newValue); this.updateEditingRowKeys(newValue);
} }
}, },
filters(newValue) { filters: {
this.d_filters = this.cloneFilters(newValue); handler: function (newValue) {
this.d_filters = this.cloneFilters(newValue);
},
deep: true
} }
}, },
beforeMount() { beforeMount() {