mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:56 -05:00
[Enhancement]: Collapsed series sorting on values other than title #1022
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf#1022
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raviwarrier on GitHub (Mar 7, 2023).
Describe the feature/enhancement
I added two new series: one from Brad Taylor (author) and the by Mathew Peed. The sorting is by date added and so they are displayed after "Jerks at Work" and before "29 Seconds". See image below.

But when I click on "Collapse Series" checkbox, the first book of the series (both of them) doesn't show up between "Jerks at Work" and "29 Seconds". See image below.

All the series are at the end of the list (way below). But shouldn't they be displayed as per the "added at" sorting logic? The last book added in the series should become the "added at" date for the series on the whole.
For example, let's say I have a series "ABC" with 5 books which I uploaded on 01-01-2023. A new 6th book releases today and I add that to my list. The original "added at" date of the series was 01-01-2023, but since I added the new 6th book, the "added at" should be 08-03-2023. And then, I add "Jerks at Work" an hour after I upload the 6th book. So, in the library view with "Collapse Series" on, it should show up between "Jerks at Work" and the book/series I had before I uploaded the latest book in "ABC" series.
This way:
@raviwarrier commented on GitHub (Mar 7, 2023):
PS: This is also the same issue on the app, but I am assuming since the app just shows webpages, fixing this here would fix it on the app.
@advplyr commented on GitHub (Apr 10, 2023):
The problem I have with this is the cover that is shown for the series wouldn't always match up with the data that is shown
@advplyr commented on GitHub (Jun 5, 2023):
Related #957