Summary: | Material type "three-dimensional artifact" displays as "visual material" | ||
---|---|---|---|
Product: | Koha | Reporter: | Isabel Pineda <isabel.pineda> |
Component: | Cataloging | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, josef.moravec, lucas, m.de.rooy, shanna.hollich |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.11.00,19.05.03
|
|
Circulation function: | |||
Attachments: |
Bug 21518: Material type "three-dimensional artifact" displays as "visual material"
MARC files for testing Bug 21518: Material type "three-dimensional artifact" displays as "visual material" Bug 21518: Material type "three-dimensional artifact" displays as "visual material" |
Description
Isabel Pineda
2018-10-08 21:12:35 UTC
This seems like a pretty easy bug to fix, and I would love it if this could happen - the Mixed Materials icon would work just fine for material type r, so it looks like the proper .png file just needs to be swapped into the code. I love having the icons show up in the catalog because it's super helpful for patrons to, at a glance, distinguish books from DVDs for instance, but this one ends up confusing them. Thanks! Created attachment 91889 [details] [review] Bug 21518: Material type "three-dimensional artifact" displays as "visual material" This patch makes a few corrections to the staff client MARC21 XSLT so that the correct material type icons are displayed for pictures and realia. The more-specific material type handling has been adapted from the corresponding XSL files in the OPAC. To test you must have default XSLT enabled and the DisplayIconsXSLT and DisplayOPACiconsXSLT system preferences enabled. - Apply the patch and locate records with "type of record" specified in the leader as 'g', 'k', and 'r'. A sample MARC file will be attached to the bug report with one of each type of record. Import the records and search your catalog for "Bug_21518." - View the records in search results and their detail pages, both in the OPAC and the staff client. In all cases the correct material type icon should be displayed. Created attachment 91890 [details]
MARC files for testing
Created attachment 91895 [details] [review] Bug 21518: Material type "three-dimensional artifact" displays as "visual material" This patch makes a few corrections to the staff client MARC21 XSLT so that the correct material type icons are displayed for pictures and realia. The more-specific material type handling has been adapted from the corresponding XSL files in the OPAC. To test you must have default XSLT enabled and the DisplayIconsXSLT and DisplayOPACiconsXSLT system preferences enabled. - Apply the patch and locate records with "type of record" specified in the leader as 'g', 'k', and 'r'. A sample MARC file will be attached to the bug report with one of each type of record. Import the records and search your catalog for "Bug_21518." - View the records in search results and their detail pages, both in the OPAC and the staff client. In all cases the correct material type icon should be displayed. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Created attachment 91930 [details] [review] Bug 21518: Material type "three-dimensional artifact" displays as "visual material" This patch makes a few corrections to the staff client MARC21 XSLT so that the correct material type icons are displayed for pictures and realia. The more-specific material type handling has been adapted from the corresponding XSL files in the OPAC. To test you must have default XSLT enabled and the DisplayIconsXSLT and DisplayOPACiconsXSLT system preferences enabled. - Apply the patch and locate records with "type of record" specified in the leader as 'g', 'k', and 'r'. A sample MARC file will be attached to the bug report with one of each type of record. Import the records and search your catalog for "Bug_21518." - View the records in search results and their detail pages, both in the OPAC and the staff client. In all cases the correct material type icon should be displayed. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Nice work! Pushed to master for 19.11.00 Pushed to 19.05.x for 19.05.03 backported to 18.11.x for 18.11.10 |