[Enhancement]: Prequels/Sequels in series: Respective sorting or flaging #2526

Closed
opened 2026-04-25 00:08:02 +02:00 by adam · 6 comments
Owner

Originally created by @xcy7e on GitHub (Jan 25, 2025).

Type of Enhancement

Web Interface/Frontend

Describe the Feature/Enhancement

Some Series have multiple prequels/sequels that can't be separated into a separate Series.

It's great that it is possible to not only enter numbers into the series' books order nbr.

It allows me to give prequels numbers like 0.1, 0.2 or splitted books inside a series with 2.1,2.2 etc.

However, when it comes to Sequels it is hard to specify a numeric order to separate them from the regular series ordering, like it is possible for the Prequels with 0.*.

It would be great if either

  • the sorting also would take alphabetical sorting into account (e.g. "Prequel" comes before "Sequel"; letters/words are sorted after the numbers, not before like now)

or if

  • sequels(/Prequels) could be flagged as such to allow some sort of separation or at least sort, the sequels for example, all to the end of the Series

Why would this be helpful?

To improve the series' ordering on complex sagas and Series with prequels/sequels that are actually loose parts of that same series.

Future Implementation (Screenshot)

  • A Series containing pre-/sequels could be visually splitted into shelves like on the startpage. So prequels and sequels Each had their own row, as well as the Regular books of the Series in between.

But I guess this would require a new Type of shelve/row/separation to Support multiple rows.

Audiobookshelf Server Version

v2.18.1

Current Implementation (Screenshot)

Currently, non-numeric order-values aren't sorted correctly:
Image

It would be helpful, if Sequels would appear at the end of the series, but I understand that such special sorting might be unintuitive and kinda dirty - at least if the latter only results from the order-value Sequel and not from a sequel-flag.

A "pre-/sequel flag/tag" would also allow ordering multiple of a Type with 1,2... Instead of the need to fill in order-values like Sequel 1, Sequel 2...

Originally created by @xcy7e on GitHub (Jan 25, 2025). ### Type of Enhancement Web Interface/Frontend ### Describe the Feature/Enhancement Some Series have multiple prequels/sequels that can't be separated into a separate Series. It's great that it is possible to not only enter numbers into the series' books order nbr. It allows me to give prequels numbers like `0.1`, `0.2` or splitted books inside a series with `2.1`,`2.2` etc. However, when it comes to **Sequels** it is hard to specify a numeric order to separate them from the regular series ordering, like it is possible for the Prequels with `0.*`. It would be great if either - the **sorting** also would **take alphabetical sorting into account** (e.g. "Prequel" comes before "Sequel"; letters/words are sorted after the numbers, not before like now) or if - **sequels(/Prequels) could be flagged** as such to allow some sort of separation or at least **sort, the sequels** for example, all **to the end of the Series** ### Why would this be helpful? To improve the series' ordering on complex sagas and Series with prequels/sequels that are actually loose parts of that same series. ### Future Implementation (Screenshot) - A Series containing pre-/sequels could be visually splitted into shelves like on the startpage. So prequels and sequels Each had their own row, as well as the Regular books of the Series in between. But I guess this would require a new Type of shelve/row/separation to Support multiple rows. ### Audiobookshelf Server Version v2.18.1 ### Current Implementation (Screenshot) Currently, non-numeric *order*-values aren't sorted correctly: ![Image](https://github.com/user-attachments/assets/14875909-ead5-427e-85dd-a5e3c52f5c18) It would be helpful, if **Sequels** would appear at the end of the series, but I understand that such special sorting might be unintuitive and kinda dirty - at least if the latter only results from the *order*-value `Sequel` and not from a sequel-flag. A "pre-/sequel flag/tag" would also allow ordering multiple of a Type with `1`,`2`... Instead of the need to fill in *order*-values like `Sequel 1`, `Sequel 2`...
adam added the enhancement label 2026-04-25 00:08:02 +02:00
adam closed this issue 2026-04-25 00:08:02 +02:00
Author
Owner

@advplyr commented on GitHub (Jan 25, 2025):

This is unlikely because we are performing the sort in a sqlite query which doesn't support natural sorting. I have wanted to remove the ability to add letters to series sequence since moving to sqlite but haven't thought of a good way to handle that migration.

@advplyr commented on GitHub (Jan 25, 2025): This is unlikely because we are performing the sort in a sqlite query which doesn't support natural sorting. I have wanted to remove the ability to add letters to series sequence since moving to sqlite but haven't thought of a good way to handle that migration.
Author
Owner

@xcy7e commented on GitHub (Jan 25, 2025):

I understand. Thanks for the insight!

Then the only option would be to split series contents into shelves/regions if it contains books flagged as prequels/sequels.
But this might be quite a big load of work... So I would understand, even if you would agree this could be a useful feature, that this won't be done anytime soon.

Can you tell me, if you ever plan to reduce order-values to numbers, if it may be still possible to use decimal separators . in it? This - at least to me - is a super important thing.

@xcy7e commented on GitHub (Jan 25, 2025): I understand. Thanks for the insight! Then the only option would be to split series contents into shelves/regions if it contains books flagged as prequels/sequels. But this might be quite a big load of work... So I would understand, even if you would agree this could be a useful feature, that this won't be done anytime soon. Can you tell me, if you ever plan to reduce order-values to numbers, if it may be still possible to use decimal separators `.` in it? This - at least to me - is a super important thing.
Author
Owner

@advplyr commented on GitHub (Jan 25, 2025):

Yeah I think decimals should remain supported.

I'm not sure I understand the usage of "sequel" you are referring to here because I've never seen any series like that.

@advplyr commented on GitHub (Jan 25, 2025): Yeah I think decimals should remain supported. I'm not sure I understand the usage of "sequel" you are referring to here because I've never seen any series like that.
Author
Owner

@averageyogi commented on GitHub (Jan 26, 2025):

I'm also confused on the reason for a "sequel" label. Why can't the book just be numbered after the existing books? If it's a sequel series, then you can use sub-series to separate the "sequels" from the original books. Another option is to leave the sequel unnumbered in the series. Entries without a sequence number are listed after all the numbered books.

Here is the full Percy Jackson series, made up of a bunch of sequential series. Notice the orange numbers are series and the black numbers are individual books. (I did have to leave a blank/skip number 13, because that hasn't been published yet)

Image

And here is the second series, the first "sequel" series, inside the collective series.

Image

They each have their own sequential numberings.

@averageyogi commented on GitHub (Jan 26, 2025): I'm also confused on the reason for a "sequel" label. Why can't the book just be numbered after the existing books? If it's a sequel series, then you can use sub-series to separate the "sequels" from the original books. Another option is to leave the sequel unnumbered in the series. Entries without a sequence number are listed after all the numbered books. Here is the full Percy Jackson series, made up of a bunch of sequential series. Notice the orange numbers are series and the black numbers are individual books. (I did have to leave a blank/skip number 13, because that hasn't been published yet) ![Image](https://github.com/user-attachments/assets/3c7bb893-a352-43ba-8cfa-f69fa53f2f94) And here is the second series, the first "sequel" series, inside the collective series. ![Image](https://github.com/user-attachments/assets/d4799b8b-7e98-4b7b-8152-db0f9c6ca48d) They each have their own sequential numberings.
Author
Owner

@xcy7e commented on GitHub (Jan 26, 2025):

If it's a sequel series, then you can use sub-series to separate the "sequels" from the original books.

Thats great and would, indeed, solve my request.
How did you get this Orange numbers?

I can give books multiple Series, but thats still separate Series? How did you achieve this Kind of relation?

@xcy7e commented on GitHub (Jan 26, 2025): > If it's a sequel series, then you can use sub-series to separate the "sequels" from the original books. Thats great and would, indeed, solve my request. How did you get this Orange numbers? I can give books multiple Series, but thats still separate Series? How did you achieve this Kind of relation?
Author
Owner

@xcy7e commented on GitHub (Jan 26, 2025):

I got it.

You have to set collapse subseries in the Series List.

Well, fair enough, this might suit these cases for me. Thank you.

Gosh I can't say enough, how much I love ABS.

@xcy7e commented on GitHub (Jan 26, 2025): I got it. You have to set `collapse subseries` in the Series List. Well, fair enough, this might suit these cases for me. Thank you. Gosh I can't say enough, how much I love ABS.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2526