Skip to content

Commit

Permalink
Indexing and grouping updates
Browse files Browse the repository at this point in the history
- When normalizing subtitles, remove "The Graphic Novel" in addition to just "Graphic Novel" (*MDN*)
- Default format category of Wonderbook to Audio Books. (*MDN*)
  • Loading branch information
mdnoble73 committed May 24, 2024
1 parent c47199b commit 1b0f2da
Show file tree
Hide file tree
Showing 24 changed files with 8 additions and 4 deletions.
Binary file modified code/axis_360_export/axis_360_export.jar
Binary file not shown.
Binary file modified code/carlx_export/carlx_export.jar
Binary file not shown.
Binary file modified code/cloud_library_export/cloud_library_export.jar
Binary file not shown.
Binary file modified code/course_reserves_indexer/course_reserves_indexer.jar
Binary file not shown.
Binary file modified code/cron/cron.jar
Binary file not shown.
Binary file modified code/events_indexer/events_indexer.jar
Binary file not shown.
Binary file modified code/evergreen_export/evergreen_export.jar
Binary file not shown.
Binary file modified code/evolve_export/evolve_export.jar
Binary file not shown.
Binary file modified code/hoopla_export/hoopla_export.jar
Binary file not shown.
Binary file modified code/koha_export/koha_export.jar
Binary file not shown.
Binary file modified code/oai_indexer/oai_indexer.jar
Binary file not shown.
Binary file modified code/overdrive_extract/overdrive_extract.jar
Binary file not shown.
Binary file modified code/palace_project_export/palace_project_export.jar
Binary file not shown.
Binary file modified code/polaris_export/polaris_export.jar
Binary file not shown.
Binary file modified code/reindexer/reindexer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private String normalizeNumericTitleText(String groupingTitle) {
return groupingTitle;
}

private static final Pattern commonSubtitlesSimplePattern = Pattern.compile("\\b(by\\s\\w+\\s\\w+|a novel of .*|stories|an autobiography|a biography|a memoir in books|poems|the movie|large print|graphic novel|magazine|audio cd|book club kit|with illustrations|book \\d+|the original classic edition|classic edition|a novel|large type edition|novel)$");
private static final Pattern commonSubtitlesSimplePattern = Pattern.compile("\\b(by\\s\\w+\\s\\w+|a novel of .*|stories|an autobiography|a biography|a memoir in books|poems|the movie|large print|the graphic novel|graphic novel|magazine|audio cd|book club kit|with illustrations|book \\d+|the original classic edition|classic edition|a novel|large type edition|novel)$");
private static final Pattern commonSubtitlesComplexPattern = Pattern.compile("\\b((a|una|an)\\s(.*)novel(a|la)?|a(.*)memoir|a(.*)mystery|a(.*)thriller|by\\s\\w+\\s\\w+|an? .* story|a .*\\s?book|[\\w\\s]+series book \\d+|[\\w\\s]+serie libro \\d+|the[\\w\\s]+chronicles book \\d+|[\\w\\s]+trilogy book \\d+|^novel|[\\w\\s]+series|.+\\sbook\\s\\d+)$");
private String removeCommonSubtitles(String groupingTitle) {
boolean changeMade = true;
Expand Down
Binary file modified code/sideload_processing/sideload_processing.jar
Binary file not shown.
Binary file modified code/sierra_export_api/sierra_export_api.jar
Binary file not shown.
Binary file modified code/symphony_export/symphony_export.jar
Binary file not shown.
Binary file modified code/user_list_indexer/user_list_indexer.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion code/web/Drivers/Koha.php
Original file line number Diff line number Diff line change
Expand Up @@ -6829,7 +6829,7 @@ protected function getUsersExtendedAttributesFromKoha($borrowerNumber): array {
], true);

$response = $this->apiCurlWrapper->curlSendPage($apiUrl, 'GET', null);
ExternalRequestLogEntry::logRequest('koha.getUserExtendedAttributes', 'PUT', $apiUrl, $this->apiCurlWrapper->getHeaders(), '', $this->apiCurlWrapper->getResponseCode(), $response, []);
ExternalRequestLogEntry::logRequest('koha.getUserExtendedAttributes', 'GET', $apiUrl, $this->apiCurlWrapper->getHeaders(), '', $this->apiCurlWrapper->getResponseCode(), $response, []);

if ($this->apiCurlWrapper->getResponseCode() == 200) {
$jsonResponse = json_decode($response, true);
Expand Down
6 changes: 5 additions & 1 deletion code/web/release_notes/24.06.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
### Events Updates
- Correct multi-select facets so multiple values can be selected when searching events. (*KL, MDN*)

### Indexing and Grouping Updates
- When normalizing subtitles, remove "The Graphic Novel" in addition to just "Graphic Novel" (Ticket 132354) (*MDN*)
- Default format category of Wonderbook to Audio Books. (*MDN*)

### Koha Updates
- When a user has opted out of auto-renewal, do not show auto-renewal message even if the title is otherwise eligible for auto-renewal. (Ticket 131789) (*MDN*)

Expand Down Expand Up @@ -53,7 +57,7 @@

### Other Updates
- Update escaping of facet values so that translatable facet values can be translated in translation mode. (Tickets 130428, 130798) (*MDN*)
- Fix translation mode for Export to CSV buttons in the Admin interface.
- Fix translation mode for Export to CSV buttons in the Admin interface. (*MDN*)

//kirstien
### Accessibility Updates
Expand Down
Binary file modified code/web_indexer/web_indexer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Web_Content = Other
Wii = Other
WiiU = Other
WindowsGame = Other
Wonderbook = Other
Wonderbook = Audio Books
Xbox360 = Other
XboxOne = Other
XboxSeriesX = Other
Expand Down

0 comments on commit 1b0f2da

Please sign in to comment.