mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-20 02:35:34 +02:00
Add: bookshelf list view, add: sort by most recent
This commit is contained in:
parent
6dbbfdbc04
commit
56a70aefaf
16 changed files with 377 additions and 50 deletions
|
@ -54,6 +54,10 @@ export default {
|
|||
{
|
||||
text: 'Size',
|
||||
value: 'size'
|
||||
},
|
||||
{
|
||||
text: 'Last Read',
|
||||
value: 'recent'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -89,6 +93,7 @@ export default {
|
|||
if (this.selected === val) {
|
||||
this.selectedDesc = !this.selectedDesc
|
||||
} else {
|
||||
if (val === 'recent' || val === 'addedAt') this.selectedDesc = true // Progress defaults to descending
|
||||
this.selected = val
|
||||
}
|
||||
this.show = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue