From 1ad044b981eab6a99b7d4ce36eeebe01df29ce5e 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 Signed-off-by: Nick Clemens Signed-off-by: Lucas Gass (cherry picked from commit d2d85c9f4a84d044fbaf571bef87d37585f6f7fb) Signed-off-by: Paul Derscheid --- .../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 70adb5ffbc..be69a2094a 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 - | + |