Bugzilla – Attachment 180813 Details for
Bug 39596
Missing labels in OPAC and staff interface when a record has a void second indicator for MARC 780/785
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39596: Adding labels in the staff interface
Bug-39596-Adding-labels-in-the-staff-interface.patch (text/plain), 2.37 KB, created by
Marcel de Rooy
on 2025-04-11 07:16:14 UTC
(
hide
)
Description:
Bug 39596: Adding labels in the staff interface
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-04-11 07:16:14 UTC
Size:
2.37 KB
patch
obsolete
>From c57d99e93885f055198e02e25a5d36b78cc41596 Mon Sep 17 00:00:00 2001 >From: William Lavoie <william.lavoie@inLibro.com> >Date: Thu, 10 Apr 2025 09:27:17 -0400 >Subject: [PATCH] Bug 39596: Adding labels in the staff interface >Content-Type: text/plain; charset=utf-8 > >Test plan: > >1. Go to Administration > MARC Bibliographic framework >2. On the right side of the default framework, click on "Actions" > > "MARC Structure" >3. Search for field 780 >4. Click on "Actions" > "Edit subfields" >5. Click on the "t" tab >6. Check "Editor" under the "Visibility" section >7. Click on "Save Changes" >8. Repeat steps 1 to 7 for field 785$t >9. Have or create a record with a value for 780 and 785 with the first > indicator at 0 and the other left empty >10. Look at the record on the staff interface and the OPAC >11. Notice that in Normal View, the values entered for 780 and 785 do > not have labels >12. Apply the patch >13. There are now labels in the staff interface and the OPAC > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 839f358a9c..9167240766 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1370,6 +1370,9 @@ > <xsl:when test="@ind2=7"> > <span class="label">Separated from:</span> > </xsl:when> >+ <xsl:otherwise> >+ <span class="label">Preceding entry:</span> >+ </xsl:otherwise> > </xsl:choose> > <xsl:text> </xsl:text> > >@@ -1458,6 +1461,9 @@ > <xsl:when test="@ind2=8"> > <span class="label">Changed back to:</span> > </xsl:when> >+ <xsl:otherwise> >+ <span class="label">Succeeding entry:</span> >+ </xsl:otherwise> > </xsl:choose> > <xsl:text> </xsl:text> > >-- >2.39.5
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 39596
:
180746
|
180766
|
180779
|
180783
|
180812
| 180813