[PR #3489] [MERGED] Add published decade filter option #3989

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3489
Author: @glorenzen
Created: 10/8/2024
Status: Merged
Merged: 10/9/2024
Merged by: @advplyr

Base: masterHead: decade-filter-option


📝 Commits (10+)

  • 72e8dc6 Add strings for PublishedDecade and PublishedDecades
  • af91b41 Add publishedDecades filter options to LibraryFilterSelect
  • 8c19a35 Add publishedDecades to libraries store
  • 1532964 Add publishedDecades to getFilterData
  • d22bf92 Add database method to add published decades to filter data
  • 13f59cc Add published decade in BookScanner
  • cf32ca2 Add 'publishedDecades' to invalidFilters in user.js
  • a3557de Add publishedDecades filter group to MediaGroupQuery
  • 8b99a64 Update client/strings/en-us.json
  • 81e7def Auto formatting

📊 Changes

8 files changed (+47 additions, -4 deletions)

View changed files

📝 client/components/controls/LibraryFilterSelect.vue (+9 -0)
📝 client/store/libraries.js (+12 -1)
📝 client/store/user.js (+1 -1)
📝 client/strings/en-us.json (+2 -0)
📝 server/Database.js (+5 -0)
📝 server/scanner/BookScanner.js (+4 -0)
📝 server/utils/queries/libraryFilters.js (+9 -2)
📝 server/utils/queries/libraryItemsBookFilters.js (+5 -0)

📄 Description

This adds a library filter option for Published Decade and resolves #3448

It doesn't follow the same format as the images in the issue, but I thought "Published Decade" was more descriptive and user-friendly than just "Published" in the top list with "Decade XXXX" in the sublist.

Everything seems to be working on my end, but there may be something I'm missing.

image

image


🔄 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/3489 **Author:** [@glorenzen](https://github.com/glorenzen) **Created:** 10/8/2024 **Status:** ✅ Merged **Merged:** 10/9/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `decade-filter-option` --- ### 📝 Commits (10+) - [`72e8dc6`](https://github.com/advplyr/audiobookshelf/commit/72e8dc6b57f260bc0a6c6454d155ca77fbaa902e) Add strings for PublishedDecade and PublishedDecades - [`af91b41`](https://github.com/advplyr/audiobookshelf/commit/af91b413d007a98518b524e3253ec89208d1a3d2) Add publishedDecades filter options to LibraryFilterSelect - [`8c19a35`](https://github.com/advplyr/audiobookshelf/commit/8c19a35f5df2dd526b33482582f99e65a4b1c2c0) Add publishedDecades to libraries store - [`1532964`](https://github.com/advplyr/audiobookshelf/commit/1532964902a91a7a7daceb2ee0107376ea9dd859) Add publishedDecades to getFilterData - [`d22bf92`](https://github.com/advplyr/audiobookshelf/commit/d22bf92dce5f75d4afadf103ddc0ef602e7a8064) Add database method to add published decades to filter data - [`13f59cc`](https://github.com/advplyr/audiobookshelf/commit/13f59cc6b9c57b7c33ca50528df022e2685dd834) Add published decade in BookScanner - [`cf32ca2`](https://github.com/advplyr/audiobookshelf/commit/cf32ca25f00e9a0b78497f9f6ff206902e512f26) Add 'publishedDecades' to invalidFilters in user.js - [`a3557de`](https://github.com/advplyr/audiobookshelf/commit/a3557de8ea3be3d8cf567566ceeeb0d5493b3539) Add publishedDecades filter group to MediaGroupQuery - [`8b99a64`](https://github.com/advplyr/audiobookshelf/commit/8b99a64ae4915bc6a992f639e6f2237d99572d79) Update client/strings/en-us.json - [`81e7def`](https://github.com/advplyr/audiobookshelf/commit/81e7def9b1b8cef75e42436862cfe099b8a9cbd8) Auto formatting ### 📊 Changes **8 files changed** (+47 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `client/components/controls/LibraryFilterSelect.vue` (+9 -0) 📝 `client/store/libraries.js` (+12 -1) 📝 `client/store/user.js` (+1 -1) 📝 `client/strings/en-us.json` (+2 -0) 📝 `server/Database.js` (+5 -0) 📝 `server/scanner/BookScanner.js` (+4 -0) 📝 `server/utils/queries/libraryFilters.js` (+9 -2) 📝 `server/utils/queries/libraryItemsBookFilters.js` (+5 -0) </details> ### 📄 Description This adds a library filter option for Published Decade and resolves #3448 It doesn't follow the same format as the images in the issue, but I thought "Published Decade" was more descriptive and user-friendly than just "Published" in the top list with "Decade XXXX" in the sublist. Everything seems to be working on my end, but there may be something I'm missing. ![image](https://github.com/user-attachments/assets/3ee1f33e-0f8e-4035-b331-90edc253bc11) ![image](https://github.com/user-attachments/assets/bf4a5183-c166-4ac1-9fc3-83e06e127bd4) --- <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:51 +02:00
adam closed this issue 2026-04-25 00:17:51 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3989