Skip to content

Commit

Permalink
Merge pull request #41485 from nextcloud/bugfix/noid/sort-asc-by-default
Browse files Browse the repository at this point in the history
fix(files): Sort list ASC by default
  • Loading branch information
nickvergessen authored Nov 16, 2023
2 parents 6099321 + 9a9cdce commit 04c3fea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/mixins/filesSorting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default Vue.extend({
*/
isAscSorting(): boolean {
const sortingDirection = this.getConfig(this.currentView.id)?.sorting_direction
return sortingDirection === 'asc'
return sortingDirection !== 'desc'
},
},

Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 04c3fea

Please sign in to comment.