[PR #4593] [Enhancement]: Update series in-progress filter to use started but not finished series #4293

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4593
Author: @Licarious
Created: 8/16/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (4)

  • 81e0dcc series in-progress filter
  • 97f06ce book finished edge case
  • f6a5e31 Merge branch 'advplyr:master' into master
  • 90f4c48 simplified logic

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 server/utils/queries/seriesFilters.js (+1 -1)

📄 Description

Brief summary

Updates series in-progress filter to show all series where at least 1 book that has been started and not all books have been finished.

Which issue is fixed?

Fixes #3220

In-depth Description

Currently the in-progress filter on the series page only shows series with a book that has been started and not finished. These are the series with books that show up in the Continue Listening list on the Home page.

This update changes the series in-progress filter to:

  1. Evaluate each series separately.
  2. Calculate the number of books that are finished for each series.
  3. Calculate the number of books that have any amount of progress.
  4. Return all series where the number of finished books is less than the number of total books and the number of books with progress is greater than 0.

This will distinguishes the series in-progress filter from the library in-progress filter.

How have you tested this?

Manually tested, see screenshots.

Screenshots

Books in currently listening:
Listening

Before change:
Before

After change:
After


🔄 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/4593 **Author:** [@Licarious](https://github.com/Licarious) **Created:** 8/16/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`81e0dcc`](https://github.com/advplyr/audiobookshelf/commit/81e0dcc9427b817315e56131ff81f14bc02f9f52) series in-progress filter - [`97f06ce`](https://github.com/advplyr/audiobookshelf/commit/97f06ce2569154cc96075af4b07f59d70585732a) book finished edge case - [`f6a5e31`](https://github.com/advplyr/audiobookshelf/commit/f6a5e31c22a3272cecb44e6ea05f6a6192f58fdc) Merge branch 'advplyr:master' into master - [`90f4c48`](https://github.com/advplyr/audiobookshelf/commit/90f4c48f0bc94b948600d315258ecf51bba7d8ef) simplified logic ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/queries/seriesFilters.js` (+1 -1) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary <!-- Please provide a brief summary of what your PR attempts to achieve. --> Updates series in-progress filter to show all series where at least 1 book that has been started and not all books have been finished. ## Which issue is fixed? Fixes #3220 ## In-depth Description <!-- Describe your solution in more depth. How does it work? Why is this the best solution? Does it solve a problem that affects multiple users or is this an edge case for your setup? --> Currently the in-progress filter on the series page only shows series with a book that has been started and not finished. These are the series with books that show up in the Continue Listening list on the Home page. This update changes the series in-progress filter to: 1. Evaluate each series separately. 2. Calculate the number of books that are finished for each series. 3. Calculate the number of books that have any amount of progress. 4. Return all series where the number of finished books is less than the number of total books and the number of books with progress is greater than 0. This will distinguishes the series in-progress filter from the library in-progress filter. ## How have you tested this? <!-- Please describe in detail with reproducible steps how you tested your changes. --> Manually tested, see screenshots. ## Screenshots <!-- If your PR includes any changes to the web client, please include screenshots or a short video from before and after your changes. --> Books in currently listening: <img width="620" height="246" alt="Listening" src="https://github.com/user-attachments/assets/04b27e57-e746-4789-b029-a34783eecd92" /> Before change: <img width="1351" height="265" alt="Before" src="https://github.com/user-attachments/assets/11509b57-cb07-46ab-bf79-ec6491146fbc" /> After change: <img width="1346" height="450" alt="After" src="https://github.com/user-attachments/assets/a7eb3c6e-d9d1-4da8-b436-bb65c947891e" /> --- <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:10 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4293