From 95e314a0f1c9bb1b57163773e9b2b3b86744b94c Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Mon, 1 Sep 2025 09:56:10 +0000 Subject: [PATCH] Bug 40618: The display of the field 255 (Cartographic Mathematical Data) is missing (both in intranet and OPAC) For the maps, one of the key characteristics is the information about the scale of the map (in MARC 21 - in the field 255: https://www.loc.gov/marc/bibliographic/bd255.html). Currently, we do not display it neither in intranet view, nor in OPAC. Test plan: ========== 1. Modify any bibliograhic record inserting a 255 field with example content. (You may need to make the subfields visible in the editor by modifying the MARC framework). 2. Verify in Normal view (intranet) and in OPAC that you are unable to see the inserted data. 3. Apply the patch ; restart_all. 4. Verify in Normal view (intranet) and in OPAC that you are now able to see the cartographical data from 255 field. Sponsored-by: Ignatianum University in Cracow Signed-off-by: Roman Dolny --- .../en/xslt/MARC21slim2intranetDetail.xsl | 25 +++++++++++++++++ .../en/xslt/MARC21slim2OPACDetail.xsl | 27 +++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 9167240766..933ecd4304 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -359,6 +359,31 @@ + + + + 255 + abcdefg + results_summary cartographic_data + Cartographic data: + + + + + Cartographic data: + + + + + abcdefg + + + + ; + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index ea7c985ecc..ac57b1d717 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -412,6 +412,33 @@ + + + + 255 + abcdefg + results_summary cartographic_data + Cartographic data: + + + + + Cartographic data: + + + + + + abcdefg + + + + + ; + + + + -- 2.39.5