Bugzilla – Attachment 131416 Details for
Bug 20362
Direct link to authority records missing in staff detail view (1xx, 7xx)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20362: (follow-up) Direct link to authority records missing in staff detail view (1xx , 7xx)
Bug-20362-follow-up-Direct-link-to-authority-recor.patch (text/plain), 3.83 KB, created by
Katrin Fischer
on 2022-03-06 14:13:23 UTC
(
hide
)
Description:
Bug 20362: (follow-up) Direct link to authority records missing in staff detail view (1xx , 7xx)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-03-06 14:13:23 UTC
Size:
3.83 KB
patch
obsolete
>From 53c44b99d1b734c9912f5fa4f373e950fedd4b73 Mon Sep 17 00:00:00 2001 >From: George Veranis <gveranis@dataly.gr> >Date: Thu, 24 Feb 2022 15:10:14 +0100 >Subject: [PATCH] Bug 20362: (follow-up) Direct link to authority records > missing in staff detail view (1xx , 7xx) > >I change the magnigying glass icon to FA icon in the staff detail view >for 1xx and 7xx of the record that links to the authority records. > >The following test plan is for 100 tag only but the patch can be apply >for all 1xx and 7xx tags that can be connect with an authority record. > >Test Plan: >1) On the Koha staff page, create a new authority. The type of authority > will be: e.g Personal Name >2) When creating authority, in tab 1 under -HEADING--PERSONAL NAME enter > the personal name term entry element and then save the > new authority e.g. Twain, Mark. >3) In circulation, search the catalog for a random book. Click the title > of the book and you will be taken to the book details. >4) Edit the record and in tab 1 , scroll down the - MAIN ENTRY-- > PERSONAL NAME and repeat this tag (the icon next to the title). >5) Edit the Personal name term entry element by clicking > the button on the right of the bar. >6) In the Search main heading ($a only) enter your personal name term > e.g. Twain, Mark. >7) Press search, and then in the table that pops up, click 'choose'. >8) Save your edits and the new personal name term will be in the 'By:' > of the book details. >9) Notice that there is no magnifying glass icon. >10) Apply this patch >11) Notice that there is now a magnifying glass icon next to the > personal name term. >12) Click on the magnifying glass and it will take you directly to the > authorities records > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../en/xslt/MARC21slim2intranetDetail.xsl | 20 +++++++++---------- > 1 file changed, 9 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 61a183143d..97d5d2521e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1714,19 +1714,17 @@ > </xsl:if> > </a> > <xsl:if test="marc:subfield[@code=9]"> >- <xsl:text> </xsl:text> >- <a class='authlink'> >- <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> >- <xsl:element name="img"> >- <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute> >- <xsl:attribute name="alt"></xsl:attribute> >- <xsl:attribute name="height">15</xsl:attribute> >- <xsl:attribute name="width">15</xsl:attribute> >- </xsl:element> >- </a> >+ <xsl:text> </xsl:text> >+ <a class='authlink'> >+ <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> >+ <xsl:element name="i"> >+ <xsl:attribute name="class">fa fa-search</xsl:attribute> >+ <xsl:attribute name="aria-label">View authority record</xsl:attribute> >+ </xsl:element> >+ </a> > </xsl:if> > <xsl:choose> >- <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> >+ <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise> > </xsl:choose> > </xsl:for-each> > </h5> >-- >2.30.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 20362
:
129289
|
129351
|
129353
|
131063
|
131344
|
131345
|
131415
| 131416