Skip to content

Commit

Permalink
Fixed #1121 - Reset page on filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Mar 25, 2021
1 parent 7ff1b32 commit b206ac5
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 @@ -585,6 +585,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 b206ac5

Please sign in to comment.