add release date option

This commit is contained in:
GGrandma 2022-04-16 19:50:38 -05:00
parent 4e8a160600
commit 23ff24bda2

View file

@ -85,7 +85,8 @@ const app = new Vue({
"albumName": "0", "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 +350,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 = {