From 4e2fe4241c4de0893550411ab49eae91daa803eb 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 Signed-off-by: Marcel de Rooy [EDIT] Fixed some indentation Signed-off-by: Lucas Gass (cherry picked from commit e225b8b3b5a80559ff6abd2e7fdab9357fceea7e) Signed-off-by: Paul Derscheid (cherry picked from commit 6b106ee8cca701a3925044ce069f02b646ccad58) Signed-off-by: Fridolin Somers --- .../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 422eb67b3b..4cadcd79d1 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 82e8a291b1..2013497c2c 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 + + + + + ; + + + +