Fix:default user settings for orderBy and default to sort ascending for titles and authors #515

This commit is contained in:
advplyr 2022-04-27 17:20:44 -05:00
parent 0a73dd6437
commit c344555be3
2 changed files with 4 additions and 1 deletions

View File

@ -131,6 +131,9 @@ export default {
this.selectedDesc = !this.selectedDesc
} else {
this.selected = val
if (val == 'media.metadata.title' || val == 'media.metadata.author' || val == 'media.metadata.authorName' || val == 'media.metadata.authorNameLF') {
this.selectedDesc = false
}
}
this.showMenu = false
this.$nextTick(() => this.$emit('change', val))

View File

@ -57,7 +57,7 @@ class User {
mobileOrderBy: 'recent',
mobileOrderDesc: true,
mobileFilterBy: 'all',
orderBy: 'book.title',
orderBy: 'media.metadata.title',
orderDesc: false,
filterBy: 'all',
playbackRate: 1,