audiobookshelf
audiobookshelf copied to clipboard
[Enhancement]: When sorting in "Date Added Desc Order" included Series "added date" should be the date the last book was added to Series
Type of Enhancement
None
Describe the Feature/Enhancement
When sorting by added date desc the series date should be the date the last book was added to the series.
Also I am not sure if this is a front end thing or a backend thing and if the Mobile app would be separate from this request (i.e. if it is a backend api request ordering thing then the mobile app may "inherit" the changes)
Why would this be helpful?
So that books added to Series do not get "Lost" when sorting the book list by date added in desc order (with collapse series toggle on) (or even the recently added series list on the homepage) . By "Lost" I mean that if a book was added to the series then the Series should be considered as recently added to and thus the series "date" should be the date of the last book added to the series if you sort the series in any desc order by date.
Future Implementation (Screenshot)
Book Screen:
collapse series off:
collapse series on:
Home Screen:
Audiobookshelf Server Version
v2.21.0
Current Implementation (Screenshot)
No response
I think collapse series and recently added series on the home page are different.
With collapse series I can see the case for using the added at date of the most recently added book. However, I never liked how collapse series is handled because we are showing the first book in the series cover image, so to see that book cover image but see data from another book underneath it doesn't seem right.
There are a bunch of open issues on handling collapse series sorting. With the way the data model is structured collapse series is difficult to work with. Early on when I implemented collapse series everything was loaded in memory on server init and the sorting was easy, but now we have to write sqlite queries that pull all the information sorted/filtered and paginated.
Some related issues #1592 #1074 #3432 #957
There are a bunch of other collapse series related issues. It probably deserves its own tag.
Yeah the two probably are different and the original intent of the request was the book date added sorting screen, however as I was writing it I thought about the home screen recent series and sort of just piggy backed it on the request...