[PR #3518] [MERGED] Fix and simplify filter logic for publishedDecades #3999

Closed
opened 2026-04-25 00:17:54 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3518
Author: @glorenzen
Created: 10/14/2024
Status: Merged
Merged: 10/15/2024
Merged by: @advplyr

Base: masterHead: fix-decade-filter


📝 Commits (2)

  • 217038b Fix and simplify filter logic for publishedDecades
  • d2c405c Fix decade filter and query by casting publishedYear to Int

📊 Changes

3 files changed (+10 additions, -10 deletions)

View changed files

📝 client/store/libraries.js (+2 -2)
📝 server/utils/queries/libraryFilters.js (+3 -3)
📝 server/utils/queries/libraryItemsBookFilters.js (+5 -5)

📄 Description

This adds a small change to the publishedDecades filter query to allow for decades before 1000 and simplifies it a bit as well.


🔄 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/3518 **Author:** [@glorenzen](https://github.com/glorenzen) **Created:** 10/14/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `fix-decade-filter` --- ### 📝 Commits (2) - [`217038b`](https://github.com/advplyr/audiobookshelf/commit/217038b085c8be5cf5ef0781c4ff87f8d518e730) Fix and simplify filter logic for publishedDecades - [`d2c405c`](https://github.com/advplyr/audiobookshelf/commit/d2c405c1268910829babb8d486a8d7473b6ab29d) Fix decade filter and query by casting publishedYear to Int ### 📊 Changes **3 files changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `client/store/libraries.js` (+2 -2) 📝 `server/utils/queries/libraryFilters.js` (+3 -3) 📝 `server/utils/queries/libraryItemsBookFilters.js` (+5 -5) </details> ### 📄 Description This adds a small change to the publishedDecades filter query to allow for decades before 1000 and simplifies it a bit as well. --- <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:17:54 +02:00
adam closed this issue 2026-04-25 00:17:54 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3999