mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 22:09:16 +02:00
Resolve "Sort by album release date"
This commit is contained in:
parent
f96b8e2dcf
commit
2fa9523e05
2 changed files with 2 additions and 1 deletions
1
changes/changelog.d/1013.enhancement
Normal file
1
changes/changelog.d/1013.enhancement
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Added the ability to sort albums by release date (#1013)
|
|
@ -124,7 +124,7 @@ export default {
|
||||||
page: parseInt(this.defaultPage),
|
page: parseInt(this.defaultPage),
|
||||||
query: this.defaultQuery,
|
query: this.defaultQuery,
|
||||||
tags: (this.defaultTags || []).filter((t) => { return t.length > 0 }),
|
tags: (this.defaultTags || []).filter((t) => { return t.length > 0 }),
|
||||||
orderingOptions: [["creation_date", "creation_date"], ["title", "album_title"]]
|
orderingOptions: [["creation_date", "creation_date"], ["title", "album_title"],["release_date","release_date"]]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue