Skip to content

Commit

Permalink
Fixed #928 - Reset page on filter
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Feb 2, 2021
1 parent 8636b1e commit 90321e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ export default {
this.d_multiSortMeta = [...this.d_multiSortMeta];
},
filter(data) {
this.d_first = 0;
this.$emit('update:first', this.d_first);
let filteredValue = [];
for(let i = 0; i < data.length; i++) {
Expand Down

0 comments on commit 90321e0

Please sign in to comment.