TEST
PMCORE-3358:The Update Order is Lost in the Sorting options of the table lists PMCORE_3.7.0 build Translation CR
This commit is contained in:
@@ -387,6 +387,7 @@ export default {
|
||||
id: this.id
|
||||
});
|
||||
});
|
||||
Event.$on('clearSortEvent', this.clearSort);
|
||||
},
|
||||
watch: {
|
||||
columns: function (val) {
|
||||
@@ -789,6 +790,21 @@ export default {
|
||||
onPostNotes() {
|
||||
this.$refs["vueTable"].getData();
|
||||
},
|
||||
/**
|
||||
* Reset the sort in the table
|
||||
*/
|
||||
clearSort() {
|
||||
if (this.$refs['vueTable']) {
|
||||
this.$refs['vueTable'].setOrder(false);
|
||||
this.$emit("updateSettings", {
|
||||
data: [],
|
||||
key: "orderBy",
|
||||
page: "inbox",
|
||||
type: "normal",
|
||||
id: this.id
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user