Merge pull request #884 from GGrandma/develop
Add release date sorting option to albums
This commit is contained in:
commit
8fc8f33a1d
1 changed files with 4 additions and 4 deletions
|
@ -82,10 +82,10 @@ const app = new Vue({
|
||||||
},
|
},
|
||||||
albums: {
|
albums: {
|
||||||
sortingOptions: {
|
sortingOptions: {
|
||||||
"albumName": "0",
|
|
||||||
"artistName": "0",
|
"artistName": "0",
|
||||||
"name": "0",
|
"name": "0",
|
||||||
"genre": "0"
|
"genre": "0",
|
||||||
|
"releaseDate": "0"
|
||||||
},
|
},
|
||||||
viewAs: 'covers',
|
viewAs: 'covers',
|
||||||
sorting: ["dateAdded", "name"], // [0] = recentlyadded page, [1] = albums page
|
sorting: ["dateAdded", "name"], // [0] = recentlyadded page, [1] = albums page
|
||||||
|
@ -349,10 +349,10 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
|
|
||||||
app.$data.library.albums.sortingOptions = {
|
app.$data.library.albums.sortingOptions = {
|
||||||
"albumName": app.getLz('term.sortBy.album'),
|
|
||||||
"artistName": app.getLz('term.sortBy.artist'),
|
"artistName": app.getLz('term.sortBy.artist'),
|
||||||
"name": app.getLz('term.sortBy.name'),
|
"name": app.getLz('term.sortBy.name'),
|
||||||
"genre": app.getLz('term.sortBy.genre')
|
"genre": app.getLz('term.sortBy.genre'),
|
||||||
|
"releaseDate": app.getLz('term.sortBy.releaseDate')
|
||||||
}
|
}
|
||||||
|
|
||||||
app.$data.library.artists.sortingOptions = {
|
app.$data.library.artists.sortingOptions = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue