[Bug]: Sort books by title does not work properly for new databases #2592

Closed
opened 2026-04-25 00:08:44 +02:00 by adam · 1 comment
Owner

Originally created by @mikiher on GitHub (Feb 19, 2025).

What happened?

After a new database is created with the latest version (v2.19.3), changing the title of books does not affect their order on a title-sorted library page.

What did you expect to happen?

When a book title is changed, its position should changed according to its new title.

Steps to reproduce the issue

  1. Create a new database
  2. Create a book library and scan it
  3. Open the book library page
  4. Change to sort by "Title"
  5. Edit the last book
  6. Change the title so that its position in the title sort order should change to first
  7. Click Save & Close
  8. Reload the library page

Expected: the edited book's position should change from last to first.
Actual: the edited book's position remains at it's original position.

Audiobookshelf version

v2.19.3

How are you running audiobookshelf?

Windows Tray App

What OS is your Audiobookshelf server hosted from?

Windows

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs


Additional Notes

No response

Originally created by @mikiher on GitHub (Feb 19, 2025). ### What happened? After a new database is created with the latest version (v2.19.3), changing the title of books does not affect their order on a title-sorted library page. ### What did you expect to happen? When a book title is changed, its position should changed according to its new title. ### Steps to reproduce the issue 1. Create a new database 2. Create a book library and scan it 3. Open the book library page 4. Change to sort by "Title" 5. Edit the last book 6. Change the title so that its position in the title sort order should change to first 7. Click Save & Close 8. Reload the library page Expected: the edited book's position should change from last to first. Actual: the edited book's position remains at it's original position. ### Audiobookshelf version v2.19.3 ### How are you running audiobookshelf? Windows Tray App ### What OS is your Audiobookshelf server hosted from? Windows ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:08:44 +02:00
adam closed this issue 2026-04-25 00:08:44 +02:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 20, 2025):

Fixed in v2.19.4.

@github-actions[bot] commented on GitHub (Feb 20, 2025): Fixed in [v2.19.4](https://github.com/advplyr/audiobookshelf/releases/tag/v2.19.4).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2592