mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02:00
Add:Series sort #712
This commit is contained in:
parent
dc4c30d791
commit
ce133cd6f2
8 changed files with 93 additions and 34 deletions
|
@ -14,8 +14,13 @@ export default {
|
|||
return redirect('/oops?message=Library not found')
|
||||
}
|
||||
|
||||
// Set series sort by
|
||||
if (query.sort && params.id === 'series') {
|
||||
store.commit('libraries/setSeriesSortBy', query.sort)
|
||||
store.commit('libraries/setSeriesSortDesc', !!query.desc)
|
||||
}
|
||||
// Set filter by
|
||||
if (query.filter) {
|
||||
if (query.filter && params.id !== 'series') {
|
||||
store.dispatch('user/updateUserSettings', { filterBy: query.filter })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue