mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
[Bug]: Broken book numbers for Series in Series #920
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-advplyr#920
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 @Blindie92 on GitHub (Jan 28, 2023).
Describe the issue
When you Put multiple Series in a another Series and group them by Series, the number of book in the theries are broken.
Steps to reproduce the issue
Audiobookshelf version
v2.2.12
How are you running audiobookshelf?
Docker
@hobesman commented on GitHub (Jan 28, 2023):
To clarify, are you talking about the fact that it says 19 items instead of the total number of books? Or are you talking about all the "#,,,," labels?
@Blindie92 commented on GitHub (Jan 28, 2023):
i mean all the labels, i think this has something todo that the books ar numbered in the subseries, but not in the main series
@jmt-gh commented on GitHub (Jan 28, 2023):
Can you provide some more detailed steps for this please:
I'm not exactly sure what to be doing to attempt to reproduce this.
@Blindie92 commented on GitHub (Jan 29, 2023):
You need to edit a lot of books and add two series, one with IDs and one without, the one with IDs are the smaller series with 5-10 books. And the big series without IDs are like the complete universe. In the end you need like one series with 50 books without numbers and 5 subseries with 10 and each series have books with ids from 1 to 10.
@wtanksleyjr commented on GitHub (Jan 29, 2023):
@Blindie92 - I was able to see this.
Now when you view the #1 series, you'll see the books grouped together, but instead of just displaying the count of books as it should (because the main #1 series being displayed has no ordering), it'll display
#,,. The number of commas in there will be one less than the number of books -- it's trying to print a subsequence like#1,5,17or#1-3but there are no actual numbers to print.I said "more than 2 books." If you create a subseries that has only 1 book, or if the subseries is not ordered, it will correctly just display the count of books contained in the subseries without trying to produce a subsequence. I think this latter behavior is correct: if there are any unordered books in a subseries, one cannot print a comma-separated description of their subsequence.
@advplyr commented on GitHub (Jan 31, 2023):
Fixed in v2.2.13