Skip to content

Commit

Permalink
DIS-123: Ignore 'number one bestseller' subtitle in OverDrive
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoStoyanovByWater committed Jan 10, 2025
1 parent 8defd9d commit aeed92b
Show file tree
Hide file tree
Showing 2 changed files with 6 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
4 changes: 4 additions & 0 deletions code/web/release_notes/25.01.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand All @@ -150,6 +153,7 @@
- Lucas Gass (LG)
- Nick Clemens (WNC)
- Yanjun Li (YL)
- Leo Stoyanov (LS)

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

0 comments on commit aeed92b

Please sign in to comment.