From f8d8cbe1e874b0b7ad62e6cee8721288a3b39a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Mon, 6 Oct 2025 12:03:54 -0300 Subject: [PATCH] Bug 40959: Fix LOC classification display (staff interface) This patch fixes the display logic for the LOC classification field (050). The current issue is that the inner components (each subfield) gets separated with the pipe symbol (|) instead of grouping the components together and using the separator for the outer 050 occurences. To test: 1. Open a record to edit it 2. Add 050 like this: ``` 050 4 $aE337.5 $b.O54 2025 050 4 $aE415.7 $b.A44 2025 ``` 3. Save => FAIL On the staff interface it displays: ``` LOC classification: E337.5 | .O54 2025 E415.7 | .A44 2025 ``` 4. Apply this patch 5. Run: $ ktd --shell k$ restart_all 6. Reload the detail page => SUCCESS: Things display correctly! 7. Sign off :-D Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 70adb5ffbcd..be69a2094ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -908,8 +908,8 @@ ab - | + | -- 2.39.5