Do not reset page on multi sort

pull/310/head
cagataycivici 2020-04-18 19:16:29 +03:00
parent 674c9098e3
commit f61e39ccce
2 changed files with 2 additions and 2 deletions

View File

@ -496,6 +496,7 @@ export default {
this.$emit('update:sortField', this.d_sortField);
this.$emit('update:sortOrder', this.d_sortOrder);
this.resetPage();
}
else if (this.sortMode === 'multiple') {
let metaKey = event.metaKey || event.ctrlKey;
@ -508,7 +509,6 @@ export default {
}
this.$emit('sort', this.createLazyLoadEvent(event));
this.resetPage();
}
}
},

View File

@ -445,6 +445,7 @@ export default {
this.$emit('update:sortField', this.d_sortField);
this.$emit('update:sortOrder', this.d_sortOrder);
this.resetPage();
}
else if (this.sortMode === 'multiple') {
let metaKey = event.metaKey || event.ctrlKey;
@ -462,7 +463,6 @@ export default {
sortOrder: this.d_sortOrder,
multiSortMeta: this.d_multiSortMeta
});
this.resetPage();
}
}
},