advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.36k stars 448 forks source link

[Bug]: If book is part of two (maybe more) series, this book appears twice in the "Continue Series" shelf #2674

Open ReaderGuy42 opened 7 months ago

ReaderGuy42 commented 7 months ago

Describe the issue

I have a book that's part of two series (a series and a subseries) and I just noticed it appears in my Continue Series shelf twice.

Also, if I hit the edit button/detail view of this book, to make sure I hadn't accidentally created two copies of the book, I can then hit the "right" button to go to the next button and then it loops, never getting to the book that's to the right of the two copies.

However. If I try it from the other side, i.e. select the book to the right of the copies, and then hit the "left" button, the bugged book shows up only ONCE, and then I can hit left again and get to the next book on that shelf.

Steps to reproduce the issue

  1. Homescreen
  2. Look at "Continue Series"
  3. have a book that's part of two series
  4. it appears twice
  5. hit detail view/edit
  6. see above

Audiobookshelf version

2.8.0

How are you running audiobookshelf?

Docker

advplyr commented 7 months ago

The book showing up twice is intentional if that book is next up in two different series. This is because the series is attached to each of those book entities so that the sequence can be shown in the top right. I will look into the edit bug you mentioned