From aeed92bc96e2f03e3e7f1351599e614c0e4585e6 Mon Sep 17 00:00:00 2001 From: Leo Stoyanov Date: Fri, 10 Jan 2025 11:54:02 -0600 Subject: [PATCH 1/2] DIS-123: Ignore 'number one bestseller' subtitle in OverDrive --- .../org/aspen_discovery/grouping/OverDriveRecordGrouper.java | 3 ++- code/web/release_notes/25.01.00.MD | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/reindexer/src/org/aspen_discovery/grouping/OverDriveRecordGrouper.java b/code/reindexer/src/org/aspen_discovery/grouping/OverDriveRecordGrouper.java index 164a72e702..d22c1e6592 100644 --- a/code/reindexer/src/org/aspen_discovery/grouping/OverDriveRecordGrouper.java +++ b/code/reindexer/src/org/aspen_discovery/grouping/OverDriveRecordGrouper.java @@ -103,7 +103,8 @@ private String processOverDriveRecord(String overdriveId, String title, String s if (series != null && !series.isEmpty() && subtitleLower.contains(series.toLowerCase())){ subtitle = ""; //Remove book club notices and award winners - }else if (subtitleLower.contains("book club") || subtitleLower.contains("award winner") || subtitleLower.contains("read with jenna")) { + }else if (subtitleLower.contains("book club") || subtitleLower.contains("award winner") || subtitleLower.contains("read with jenna") + || subtitleLower.contains("number one bestseller")) { subtitle = ""; } } diff --git a/code/web/release_notes/25.01.00.MD b/code/web/release_notes/25.01.00.MD index f825364c77..49a4e4d912 100644 --- a/code/web/release_notes/25.01.00.MD +++ b/code/web/release_notes/25.01.00.MD @@ -139,6 +139,9 @@ ### Web Builder Updates - When adding a form to a custom page, limit the forms displayed in the dropdown to those from the user's own library if their permissions are Administer Library Custom Forms. (*AB*) +### Indexing Updates +- Enhanced subtitle filtering for OverDrive records by ignoring the subtitle "number one bestseller". (DIS-211) (*LS*) + ### Other Updates - Fix linking to library websites for consortia within Web Builder and the Hours and Location dialog. (*MDN*) - Add an editorconfig file for template files to standardize using tabs across all files. (*MDN*) @@ -150,6 +153,7 @@ - Lucas Gass (LG) - Nick Clemens (WNC) - Yanjun Li (YL) + - Leo Stoyanov (LS) ### Grove For Libraries - Mark Noble (MDN) From 4e1fa4d893f6923cdb0fdb910023c0358497b4e2 Mon Sep 17 00:00:00 2001 From: Leo Stoyanov Date: Fri, 10 Jan 2025 15:18:18 -0600 Subject: [PATCH 2/2] Moved my release notes from 25.01.00.MD to 25.02.00.MD. --- code/web/release_notes/25.01.00.MD | 5 +---- code/web/release_notes/25.02.00.MD | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/web/release_notes/25.01.00.MD b/code/web/release_notes/25.01.00.MD index 49a4e4d912..3c47ee017f 100644 --- a/code/web/release_notes/25.01.00.MD +++ b/code/web/release_notes/25.01.00.MD @@ -139,9 +139,6 @@ ### Web Builder Updates - When adding a form to a custom page, limit the forms displayed in the dropdown to those from the user's own library if their permissions are Administer Library Custom Forms. (*AB*) -### Indexing Updates -- Enhanced subtitle filtering for OverDrive records by ignoring the subtitle "number one bestseller". (DIS-211) (*LS*) - ### Other Updates - Fix linking to library websites for consortia within Web Builder and the Hours and Location dialog. (*MDN*) - Add an editorconfig file for template files to standardize using tabs across all files. (*MDN*) @@ -153,7 +150,7 @@ - Lucas Gass (LG) - Nick Clemens (WNC) - Yanjun Li (YL) - - Leo Stoyanov (LS) + ### Grove For Libraries - Mark Noble (MDN) diff --git a/code/web/release_notes/25.02.00.MD b/code/web/release_notes/25.02.00.MD index d4256ae538..977e25fcdb 100644 --- a/code/web/release_notes/25.02.00.MD +++ b/code/web/release_notes/25.02.00.MD @@ -12,6 +12,10 @@ - Add a new API to retrieve available sublocations for the system. (DIS-195) (*MDN*) - API updates to support using multiple pickup areas within a location. (DIS-195) (*MDN*) +//leo +### Indexing Updates +- Enhanced subtitle filtering for OverDrive records by ignoring the subtitle "number one bestseller". (DIS-211) (*LS*) + //katherine //kirstien