diff --git a/code/reindexer/src/org/aspen_discovery/format_classification/MarcRecordFormatClassifier.java b/code/reindexer/src/org/aspen_discovery/format_classification/MarcRecordFormatClassifier.java index f7ed1ba866..7eb34f6e8d 100644 --- a/code/reindexer/src/org/aspen_discovery/format_classification/MarcRecordFormatClassifier.java +++ b/code/reindexer/src/org/aspen_discovery/format_classification/MarcRecordFormatClassifier.java @@ -385,6 +385,9 @@ public void getFormatFromSubjects(AbstractGroupedWorkSolr groupedWork, Record re }else if (subfieldData.contains("picture book")) { if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Adding bib level format PictureBook based on 655 Genre", 2);} result.add("PictureBook"); + }else if (subfieldData.contains("readers (publications)")) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Adding bib level format Early Reader based on 655 Genre", 2);} + result.add("EarlyReader"); }else if (subfieldData.contains("big book")) { if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Adding bib level format BigBook based on 655 Genre", 2);} result.add("BigBook"); @@ -1558,6 +1561,10 @@ public void filterPrintFormats(Set printFormats) { if (printFormats.contains("PictureBook")){ printFormats.remove("Book"); } + if (printFormats.contains("EarlyReader")){ + printFormats.remove("PictureBook"); + printFormats.remove("Book"); + } if (printFormats.contains("BigBook")){ printFormats.remove("PictureBook"); printFormats.remove("Book"); diff --git a/code/web/release_notes/26.11.00/DIS-2565.yaml b/code/web/release_notes/26.11.00/DIS-2565.yaml new file mode 100644 index 0000000000..bb01d1bd05 --- /dev/null +++ b/code/web/release_notes/26.11.00/DIS-2565.yaml @@ -0,0 +1,12 @@ +Jira: DIS-2565 +Type: Enhancement +Developer: Kodi Lein (KL) +Contributing Org: Grove For Libraries +Sponsor: SWAN Library Network +GroveRelease: 26.11.00 +CommunityRelease: 26.12.00 +Component: Indexing +Description: + - Add logic to marc record indexing to assign a format of Early Reader if "readers (publications)" is in the 655$a field. +New Settings: +New Permissions: \ No newline at end of file diff --git a/sites/default/translation_maps/format_map.csv b/sites/default/translation_maps/format_map.csv index 265ae6b4df..28b520e368 100644 --- a/sites/default/translation_maps/format_map.csv +++ b/sites/default/translation_maps/format_map.csv @@ -31,6 +31,7 @@ DVD, DVD, Movies,12 DiscCartridge, Software, Other,1 Disney_Online_Book, Online Book, eBook,3 Drawing, Drawing, Other,1 +EarlyReader, Early Reader, Books, 9 Electronic, Electronic, Other,1 Filmstrip, Video, Movies,1 FlashCard, Photo, Other,1