[PR #4807] Add ability to hide and unhide series #4351

Open
opened 2026-04-25 00:19:23 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4807
Author: @DoctorDalek1963
Created: 11/6/2025
Status: 🔄 Open

Base: masterHead: hidden-series


📝 Commits (2)

  • 8fb763d Add ability to hide and unhide series
  • def0cfb Use POST for hide/unhide

📊 Changes

8 files changed (+109 additions, -0 deletions)

View changed files

📝 client/components/app/BookShelfToolbar.vue (+43 -0)
📝 client/store/user.js (+4 -0)
📝 client/strings/en-us.json (+4 -0)
📝 server/controllers/MeController.js (+21 -0)
📝 server/controllers/UserController.js (+1 -0)
📝 server/models/User.js (+26 -0)
📝 server/routers/ApiRouter.js (+1 -0)
📝 server/utils/queries/seriesFilters.js (+9 -0)

📄 Description

Brief summary

Adds the ability to hide or unhide a series. A hidden series won't show up in the series tab, but is still visible as a collapsed sub-series. Series are hidden on a per-user basis.

Which issue is fixed?

Fixes #870. Fixes #2092.

In-depth Description

Adds an option in the toolbar menu when viewing a series to hide/unhide. Hiding a series adds it to a list user.extraData.hiddenSeries. This is also where we store which series are hidden from "continue series" on the home page.

When the client asks the server for all the series, the SQL query now filters out the series which are hidden for that user. Currently this is not respected on the home page, so the "recent series" section will show hidden series. I'm not sure if they should be hidden here also.

Hidden series will still be suggested in the dropdown when adding a book to a series, and they will still appear on the page for a book, under the name like normal. This means hidden series are still easily accessible. Hidden series will also be considered for the "continue series" section of the home page. For use cases involving nested series, it is easy to remove just the sub-series from the "continue series" section to avoid clutter.

How have you tested this?

I've tested this on my own server with 179 Big Finish audio dramas, 22 series, and now over 10 hidden series.

Screenshots

New series menu with option to hide series

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4807 **Author:** [@DoctorDalek1963](https://github.com/DoctorDalek1963) **Created:** 11/6/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `hidden-series` --- ### 📝 Commits (2) - [`8fb763d`](https://github.com/advplyr/audiobookshelf/commit/8fb763d81ee986d4024d5fccefae25bbe5844e05) Add ability to hide and unhide series - [`def0cfb`](https://github.com/advplyr/audiobookshelf/commit/def0cfb7441c9e55b8fc7011f2d78f1b64947cd9) Use POST for hide/unhide ### 📊 Changes **8 files changed** (+109 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `client/components/app/BookShelfToolbar.vue` (+43 -0) 📝 `client/store/user.js` (+4 -0) 📝 `client/strings/en-us.json` (+4 -0) 📝 `server/controllers/MeController.js` (+21 -0) 📝 `server/controllers/UserController.js` (+1 -0) 📝 `server/models/User.js` (+26 -0) 📝 `server/routers/ApiRouter.js` (+1 -0) 📝 `server/utils/queries/seriesFilters.js` (+9 -0) </details> ### 📄 Description ## Brief summary Adds the ability to hide or unhide a series. A hidden series won't show up in the series tab, but is still visible as a collapsed sub-series. Series are hidden on a per-user basis. ## Which issue is fixed? Fixes #870. Fixes #2092. ## In-depth Description Adds an option in the toolbar menu when viewing a series to hide/unhide. Hiding a series adds it to a list `user.extraData.hiddenSeries`. This is also where we store which series are hidden from "continue series" on the home page. When the client asks the server for all the series, the SQL query now filters out the series which are hidden for that user. Currently this is not respected on the home page, so the "recent series" section will show hidden series. I'm not sure if they should be hidden here also. Hidden series will still be suggested in the dropdown when adding a book to a series, and they will still appear on the page for a book, under the name like normal. This means hidden series are still easily accessible. Hidden series will also be considered for the "continue series" section of the home page. For use cases involving nested series, it is easy to remove just the sub-series from the "continue series" section to avoid clutter. ## How have you tested this? I've tested this on my own server with 179 Big Finish audio dramas, 22 series, and now over 10 hidden series. ## Screenshots <img width="230" height="214" alt="New series menu with option to hide series" src="https://github.com/user-attachments/assets/69f9a6a6-f128-4e70-8f81-1715ed9adae7" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:23 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4351