We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e21a469 commit 2574d6fCopy full SHA for 2574d6f
1 file changed
resources/js/ui/Table/Table.vue
@@ -573,13 +573,13 @@
573
574
saveSortProperty() {
575
if (this.saveSortBy) {
576
- window.localStorage.setItem('ui-table-sort-' + this.id + '-' + window.location.pathname, JSON.stringify(this.sort))
+ window.localStorage.setItem('ui-table-sort-' + this.id + '-' + this.endpoint + '-' + window.location.pathname, JSON.stringify(this.sort))
577
}
578
},
579
580
loadSortProperty() {
581
try {
582
- let sort = window.localStorage.getItem('ui-table-sort-' + this.id + '-' + window.location.pathname)
+ let sort = window.localStorage.getItem('ui-table-sort-' + this.id + '-' + this.endpoint + '-' + window.location.pathname)
583
if (sort) {
584
sort = JSON.parse(sort)
585
this.sort = sort
0 commit comments