Skip to content

Commit

Permalink
Fix collection listing's sort direction on reorder
Browse files Browse the repository at this point in the history
Fixes an exception when the user has set a sort direction and wants to reorder a collection. This will reset sort direction to its required values.
  • Loading branch information
o1y committed Nov 1, 2023
1 parent 6a540f3 commit 574d01d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/components/entries/Listing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export default {
this.page = 1;
this.sortColumn = 'order';
this.sortDirection = 'asc';
},
cancelReordering() {
Expand Down

0 comments on commit 574d01d

Please sign in to comment.