Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -1558,6 +1561,10 @@ public void filterPrintFormats(Set<String> 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");
Expand Down
12 changes: 12 additions & 0 deletions code/web/release_notes/26.11.00/DIS-2565.yaml
Original file line number Diff line number Diff line change
@@ -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:
1 change: 1 addition & 0 deletions sites/default/translation_maps/format_map.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading