Fixed #74 - Clicking column header resets paginator

pull/104/head
cagataycivici 2019-10-22 11:01:21 +03:00
parent ddc9b2362c
commit eb0d3a0b7b
1 changed files with 2 additions and 1 deletions

View File

@ -407,7 +407,6 @@ export default {
},
onColumnHeaderClick(event, column) {
if (column.sortable) {
this.resetPage();
const targetNode = event.target;
const columnField = column.field || column.sortField;
@ -437,6 +436,8 @@ export default {
sortOrder: this.d_sortOrder,
multiSortMeta: this.d_multiSortMeta
});
this.resetPage();
}
}
},