mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web-src] Add option to artist albums list to sort by release date
This commit is contained in:
@@ -55,6 +55,7 @@ export default new Vuex.Store({
|
||||
hide_singles: false,
|
||||
hide_spotify: false,
|
||||
artists_sort: 'Name',
|
||||
artist_albums_sort: 'Name',
|
||||
albums_sort: 'Name',
|
||||
show_only_next_items: false,
|
||||
show_burger_menu: false,
|
||||
@@ -192,6 +193,9 @@ export default new Vuex.Store({
|
||||
[types.ARTISTS_SORT] (state, sort) {
|
||||
state.artists_sort = sort
|
||||
},
|
||||
[types.ARTIST_ALBUMS_SORT] (state, sort) {
|
||||
state.artist_albums_sort = sort
|
||||
},
|
||||
[types.ALBUMS_SORT] (state, sort) {
|
||||
state.albums_sort = sort
|
||||
},
|
||||
|
||||
@@ -21,6 +21,7 @@ export const ADD_RECENT_SEARCH = 'ADD_RECENT_SEARCH'
|
||||
export const HIDE_SINGLES = 'HIDE_SINGLES'
|
||||
export const HIDE_SPOTIFY = 'HIDE_SPOTIFY'
|
||||
export const ARTISTS_SORT = 'ARTISTS_SORT'
|
||||
export const ARTIST_ALBUMS_SORT = 'ARTIST_ALBUMS_SORT'
|
||||
export const ALBUMS_SORT = 'ALBUMS_SORT'
|
||||
export const SHOW_ONLY_NEXT_ITEMS = 'SHOW_ONLY_NEXT_ITEMS'
|
||||
export const SHOW_BURGER_MENU = 'SHOW_BURGER_MENU'
|
||||
|
||||
Reference in New Issue
Block a user