Data list filter applied should go back to page 1
This commit is contained in:
@@ -675,6 +675,8 @@ export default {
|
||||
async filter(item) {
|
||||
const res = await this.$refs.dataTableFilter.open(item);
|
||||
if (res && res.refresh == true) {
|
||||
//New filter, need to go back to the first page
|
||||
this.dataTablePagingOptions.page = 1;
|
||||
this.getDataFromApi();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user