From c068db99152b5edaa21e055094b8377fa9db2cb8 Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Thu, 18 Sep 2025 12:52:40 +0300 Subject: [PATCH] Bug 40832: Add MARC21 field 382 Medium of Performance to detail pages To test: 1. On staff client, navigate to Cataloging 2. Click New from Z39.50/SRU 3. Using Library of Congress, search ISBN 9780758668790 4. Import record and save (no adding items required) 5. Repeat steps 1-2 6. Using Library of Congress, search LC call number 2017564102 7. Import record and save (no adding items required) 8. Open imported records in staff client 9. Observe the following details: for ISBN: 9780758668790 "Medium of performance: children's chorus (1), piano (1) or organ (1), tambourine (1) [optional]" for LC call number 2017564102 "Medium of performance: oboe (1) or violin (1), string orchestra" 10. Navigate to the same records in OPAC 11. Observe exactly the same details --- .../en/xslt/MARC21slim2intranetDetail.xsl | 37 +++++++++++++++++++ .../en/xslt/MARC21slim2OPACDetail.xsl | 37 +++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 9167240766c..826c0fc6418 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -424,6 +424,43 @@ + + + + Medium of performance: + + + + + , + + + + + + or + + + + doubling + + + + ( + + ) + + + [ + + ] + + + ; + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index ea7c985eccc..2ffcdb99d5f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -489,6 +489,43 @@ + + + + Medium of performance: + + + + + , + + + + + + or + + + + doubling + + + + ( + + ) + + + [ + + ] + + + ; + + + + -- 2.34.1