Do not reset page on multi sort
parent
674c9098e3
commit
f61e39ccce
|
@ -496,6 +496,7 @@ export default {
|
||||||
|
|
||||||
this.$emit('update:sortField', this.d_sortField);
|
this.$emit('update:sortField', this.d_sortField);
|
||||||
this.$emit('update:sortOrder', this.d_sortOrder);
|
this.$emit('update:sortOrder', this.d_sortOrder);
|
||||||
|
this.resetPage();
|
||||||
}
|
}
|
||||||
else if (this.sortMode === 'multiple') {
|
else if (this.sortMode === 'multiple') {
|
||||||
let metaKey = event.metaKey || event.ctrlKey;
|
let metaKey = event.metaKey || event.ctrlKey;
|
||||||
|
@ -508,7 +509,6 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('sort', this.createLazyLoadEvent(event));
|
this.$emit('sort', this.createLazyLoadEvent(event));
|
||||||
this.resetPage();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -445,6 +445,7 @@ export default {
|
||||||
|
|
||||||
this.$emit('update:sortField', this.d_sortField);
|
this.$emit('update:sortField', this.d_sortField);
|
||||||
this.$emit('update:sortOrder', this.d_sortOrder);
|
this.$emit('update:sortOrder', this.d_sortOrder);
|
||||||
|
this.resetPage();
|
||||||
}
|
}
|
||||||
else if (this.sortMode === 'multiple') {
|
else if (this.sortMode === 'multiple') {
|
||||||
let metaKey = event.metaKey || event.ctrlKey;
|
let metaKey = event.metaKey || event.ctrlKey;
|
||||||
|
@ -462,7 +463,6 @@ export default {
|
||||||
sortOrder: this.d_sortOrder,
|
sortOrder: this.d_sortOrder,
|
||||||
multiSortMeta: this.d_multiSortMeta
|
multiSortMeta: this.d_multiSortMeta
|
||||||
});
|
});
|
||||||
this.resetPage();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue