From 90321e05986a7737878612c6560dd5fd5ec61e7d Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 2 Feb 2021 18:16:51 +0300 Subject: [PATCH] Fixed #928 - Reset page on filter --- src/components/datatable/DataTable.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index a9c0e5479d..009edd41d6 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -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++) {