[Bug]: Series are not displayed in the expected order on an authors page. #1303

Closed
opened 2026-04-24 23:39:07 +02:00 by adam · 7 comments
Owner

Originally created by @alexedwards565 on GitHub (Aug 5, 2023).

Describe the issue

Series are not displayed in the expected order on an authors page.

The Directory structure I entered was:

── Author Name
   ├── 1. Series 1
   │   └── Books
   ├── 2. Series 2
   │   └── Book 1 - The Runes of the Earth (2004)
   ├── [...]
   ├── 11. Series 11
   │   └── Books
   └── 12. Series 12
       └── Books

The outcome of this on the author page was:

  1. Series 1
  2. Series 11
  3. Series 12
  4. Series 2
    ...

The Expected outcome was:

  1. Series 1
  2. Series 2
    ...
  3. Series 11
  4. Series 12

Steps to reproduce the issue

  1. Use an ordered list in the directory structure when inputting an ordered list of series under an author

Audiobookshelf version

v2.3.3

How are you running audiobookshelf?

Docker

Originally created by @alexedwards565 on GitHub (Aug 5, 2023). ### Describe the issue Series are not displayed in the expected order on an authors page. The Directory structure I entered was: ``` ── Author Name ├── 1. Series 1 │ └── Books ├── 2. Series 2 │ └── Book 1 - The Runes of the Earth (2004) ├── [...] ├── 11. Series 11 │ └── Books └── 12. Series 12 └── Books ``` The outcome of this on the author page was: 1. Series 1 11. Series 11 12. Series 12 2. Series 2\ ... The Expected outcome was: 1. Series 1 2. Series 2 ... 11. Series 11 12. Series 12 ### Steps to reproduce the issue 1. Use an ordered list in the directory structure when inputting an ordered list of series under an author ### Audiobookshelf version v2.3.3 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:39:07 +02:00
adam closed this issue 2026-04-24 23:39:07 +02:00
Author
Owner

@advplyr commented on GitHub (Aug 5, 2023):

Are you using the edge docker image?

@advplyr commented on GitHub (Aug 5, 2023): Are you using the `edge` docker image?
Author
Owner

@alexedwards565 commented on GitHub (Aug 5, 2023):

I'm using :latest

@alexedwards565 commented on GitHub (Aug 5, 2023): I'm using `:latest`
Author
Owner

@alexedwards565 commented on GitHub (Aug 5, 2023):

Ive just tested on the edge image and it is behaving the same way

@alexedwards565 commented on GitHub (Aug 5, 2023): Ive just tested on the `edge` image and it is behaving the same way
Author
Owner

@CLHatch commented on GitHub (Aug 6, 2023):

Describe the issue

Series are not displayed in the expected order on an authors page.

The Directory structure I entered was:

── Author Name
   ├── 1. Series 1
   │   └── Books
   ├── 2. Series 2
   │   └── Book 1 - The Runes of the Earth (2004)
   ├── [...]
   ├── 11. Series 11
   │   └── Books
   └── 12. Series 12
       └── Books

The outcome of this on the author page was:

  1. Series 1
  2. Series 11
  3. Series 12
  4. Series 2
    ...

The Expected outcome was:

  1. Series 1
  2. Series 2
    ...
  3. Series 11
  4. Series 12

Steps to reproduce the issue

  1. Use an ordered list in the directory structure when inputting an ordered list of series under an author

Audiobookshelf version

v2.3.3

How are you running audiobookshelf?

Docker

Isn't this expected behavior? A "Series" doesn't have a number associated with it, the BOOKS in a series have numbers associated with them. So ABS would just see the 1. Series as a series with that exact name 1. Series, no parsing of the number.

Edit:
As a workaround, if you really want to have your series numbered like that, then you could change your naming to zero-fill the numbers, such as 01. Series, etc, and you will find they will sort as you expect.

@CLHatch commented on GitHub (Aug 6, 2023): > ### Describe the issue > Series are not displayed in the expected order on an authors page. > > The Directory structure I entered was: > > ``` > ── Author Name > ├── 1. Series 1 > │ └── Books > ├── 2. Series 2 > │ └── Book 1 - The Runes of the Earth (2004) > ├── [...] > ├── 11. Series 11 > │ └── Books > └── 12. Series 12 > └── Books > ``` > > The outcome of this on the author page was: > > 1. Series 1 > 2. Series 11 > 3. Series 12 > 4. Series 2 > ... > > The Expected outcome was: > > 1. Series 1 > 2. Series 2 > ... > 3. Series 11 > 4. Series 12 > > ### Steps to reproduce the issue > 1. Use an ordered list in the directory structure when inputting an ordered list of series under an author > > ### Audiobookshelf version > v2.3.3 > > ### How are you running audiobookshelf? > Docker Isn't this expected behavior? A "Series" doesn't have a number associated with it, the BOOKS in a series have numbers associated with them. So ABS would just see the `1. Series` as a series with that exact name `1. Series`, no parsing of the number. Edit: As a workaround, if you really want to have your series numbered like that, then you could change your naming to zero-fill the numbers, such as `01. Series`, etc, and you will find they will sort as you expect.
Author
Owner

@alexedwards565 commented on GitHub (Aug 6, 2023):

Thanks for the workaround

Yes, in most use cases the order of the series wouldn't matter, but I'm I'm trying to organise Doctor Who audio dramas, so the order of series does matter. I imagine there are other cases where it would matter too.

I know ABS doesn't parse the numbering on a series as it would with books, but I did expect series to be listed in alphabetical order, which they largely are. The issue is that numerals are not sorted alphabetically in the expected way, as they are in a file browser.

@alexedwards565 commented on GitHub (Aug 6, 2023): Thanks for the workaround Yes, in most use cases the order of the series wouldn't matter, but I'm I'm trying to organise Doctor Who audio dramas, so the order of series does matter. I imagine there are other cases where it would matter too. I know ABS doesn't parse the numbering on a series as it would with books, but I did expect series to be listed in alphabetical order, which they largely are. The issue is that numerals are not sorted alphabetically in the expected way, as they are in a file browser.
Author
Owner

@CLHatch commented on GitHub (Aug 6, 2023):

Thanks for the workaround

Yes, in most use cases the order of the series wouldn't matter, but I'm I'm trying to organise Doctor Who audio dramas, so the order of series does matter. I imagine there are other cases where it would matter too.

I know ABS doesn't parse the numbering on a series as it would with books, but I did expect series to be listed in alphabetical order, which they largely are. The issue is that numerals are not sorted alphabetically in the expected way, as they are in a file browser.

I actually 0 fill the numbers when adding the series order to books to force the sorting. Not all file systems try to recognize numbers like that, and just do straight ASCII sorting.

@CLHatch commented on GitHub (Aug 6, 2023): > Thanks for the workaround > > Yes, in most use cases the order of the series wouldn't matter, but I'm I'm trying to organise Doctor Who audio dramas, so the order of series does matter. I imagine there are other cases where it would matter too. > > I know ABS doesn't parse the numbering on a series as it would with books, but I did expect series to be listed in alphabetical order, which they largely are. The issue is that numerals are not sorted alphabetically in the expected way, as they are in a file browser. I actually 0 fill the numbers when adding the series order to books to force the sorting. Not all file systems try to recognize numbers like that, and just do straight ASCII sorting.
Author
Owner

@alexedwards565 commented on GitHub (Aug 6, 2023):

Ah, I don't think i've encountered sorting like this before, but ill keep it in mind. Thank you!

@alexedwards565 commented on GitHub (Aug 6, 2023): Ah, I don't think i've encountered sorting like this before, but ill keep it in mind. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1303