diff --git a/src/components/dataview/DataView.vue b/src/components/dataview/DataView.vue index 943d6de7c..36941c2ee 100755 --- a/src/components/dataview/DataView.vue +++ b/src/components/dataview/DataView.vue @@ -114,6 +114,12 @@ export default { }, rows(newValue) { this.d_rows = newValue; + }, + sortField(newValue) { + this.resetPage(); + }, + sortOrder(newValue) { + this.resetPage(); } }, methods: { @@ -153,6 +159,10 @@ export default { else { return null; } + }, + resetPage() { + this.d_first = 0; + this.$emit('update:first', this.d_first); } }, computed: {