[Bug]: New tag not showing in filter list #1723

Closed
opened 2026-02-20 10:12:11 -05:00 by deekerman · 2 comments
Owner

Originally created by @fivestones on GitHub (Feb 8, 2024).

Describe the issue

I added a tag ("Recommended books") to a bunch of books (none of them audiobooks). Then I tried to filter by this tag in the library, but it didn't show up in the list of tags. I refreshed the site, but still it didn't show up.
I noticed that all the tags that did show up were applied to audiobooks.
When I applied the "Recommended books" tag to an audiobook, it suddenly showed up in the list of tags to filter the library by, and when I chose it, I could see both the single audiobook and all the text books I had tagged with this tag.

Probably related is that when the tag has been used to tag books already, when trying to tag another book, it doesn't appear in the drop down of existing tags to choose from.

Steps to reproduce the issue

  1. Tag one or more text books with a new tag.
  2. Do not tag any audiobook with the tag.
  3. The tag doesn't show up in the list of tags when filtering the library view.

Audiobookshelf version

v2.7.2

How are you running audiobookshelf?

Docker

Originally created by @fivestones on GitHub (Feb 8, 2024). ### Describe the issue I added a tag ("Recommended books") to a bunch of books (none of them audiobooks). Then I tried to filter by this tag in the library, but it didn't show up in the list of tags. I refreshed the site, but still it didn't show up. I noticed that all the tags that did show up were applied to audiobooks. When I applied the "Recommended books" tag to an audiobook, it suddenly showed up in the list of tags to filter the library by, and when I chose it, I could see both the single audiobook and all the text books I had tagged with this tag. Probably related is that when the tag has been used to tag books already, when trying to tag another book, it doesn't appear in the drop down of existing tags to choose from. ### Steps to reproduce the issue 1. Tag one or more text books with a new tag. 2. Do not tag any audiobook with the tag. 3. The tag doesn't show up in the list of tags when filtering the library view. ### Audiobookshelf version v2.7.2 ### How are you running audiobookshelf? Docker
deekerman 2026-02-20 10:12:11 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@advplyr commented on GitHub (Feb 18, 2024):

This isn't specific to ebooks. This has to do with the filters being cached and adding the new tag is not updating the cached filters correctly.

@advplyr commented on GitHub (Feb 18, 2024): This isn't specific to ebooks. This has to do with the filters being cached and adding the new tag is not updating the cached filters correctly.
Author
Owner

@advplyr commented on GitHub (Feb 20, 2024):

Fixed in v2.8.0

@advplyr commented on GitHub (Feb 20, 2024): Fixed in [v2.8.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.8.0)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#1723
No description provided.