Bugzilla – Attachment 175361 Details for
Bug 38670
773$d doesnt display in record detail page when it should
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38670: Add 773$d to MARC21 record detail display
Bug-38670-Add-773d-to-MARC21-record-detail-display.patch (text/plain), 1.41 KB, created by
Lucas Gass (lukeg)
on 2024-12-10 17:55:04 UTC
(
hide
)
Description:
Bug 38670: Add 773$d to MARC21 record detail display
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-12-10 17:55:04 UTC
Size:
1.41 KB
patch
obsolete
>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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38670
:
175361
|
175362
|
175364
|
178470
|
178471