Skip to content

Commit

Permalink
Merge pull request #2192 from LeoStoyanovByWater/DIS-211-ignore-numbe…
Browse files Browse the repository at this point in the history
…r-one-bestseller-v2

DIS-211: Ignore 'number one bestseller' subtitle in OverDrive
  • Loading branch information
mdnoble73 authored Jan 13, 2025
2 parents b9f6804 + fc2d97b commit 5950097
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
}
}
Expand Down
1 change: 1 addition & 0 deletions code/web/release_notes/25.01.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
- Nick Clemens (WNC)
- Yanjun Li (YL)


### Grove For Libraries
- Mark Noble (MDN)
- Kirstien Kroeger (KK)
Expand Down
5 changes: 5 additions & 0 deletions code/web/release_notes/25.02.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
### Polaris Updates
- When loading patron types and libraries from Polaris, automatically associate them with the correct account profile. (DIS-214) (*MDN*)

//leo
### Indexing Updates
- Enhanced subtitle filtering for OverDrive records by ignoring the subtitle "number one bestseller". (DIS-211) (*LS*)

//katherine

//kirstien
Expand Down Expand Up @@ -74,6 +78,7 @@ Use mb_substr to presrve diacritics in lists (DIS-178) (*WNC*)
- Lucas Gass (LG)
- Nick Clemens (WNC)
- Yanjun Li (YL)
- Leo Stoyanov (LS)

### Grove For Libraries
- Mark Noble (MDN)
Expand Down

0 comments on commit 5950097

Please sign in to comment.