Fixed #928 - Reset page on filter

pull/938/head
Cagatay Civici 2021-02-02 18:16:51 +03:00
parent 8636b1ee6d
commit 90321e0598
1 changed files with 3 additions and 0 deletions

View File

@ -586,6 +586,9 @@ export default {
this.d_multiSortMeta = [...this.d_multiSortMeta]; this.d_multiSortMeta = [...this.d_multiSortMeta];
}, },
filter(data) { filter(data) {
this.d_first = 0;
this.$emit('update:first', this.d_first);
let filteredValue = []; let filteredValue = [];
for(let i = 0; i < data.length; i++) { for(let i = 0; i < data.length; i++) {