From bbb6b845ad667ebf99f51cf3287fa0252711cbc2 Mon Sep 17 00:00:00 2001
From: Lucas Gass <lucas@bywatersolutions.com>
Date: Tue, 10 Dec 2024 17:54:10 +0000
Subject: [PATCH] Bug 38670: Add 773$d to MARC21 record detail display
To recreate:
1. Pick a framework and expose the 773$t ( title ), 773$g ( parts ), and 773$d ( Place, publisher, and date of publication )
2. Find a record and add some data to each of the fields in step 1.
3. Notice that the 773$d won't display.
4. APPLY PATCH and restart_all
5. Now the 773$d displays.
---
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
index cbc6fc603f..b30efc0e06 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
@@ -679,6 +679,9 @@
</a>
</xsl:otherwise>
</xsl:choose>
+ <xsl:if test="marc:subfield[@code='d']">
+ <xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='d']"/>
+ </xsl:if>
<xsl:if test="marc:subfield[@code='g']">
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/>
</xsl:if>
--
2.39.2