Bugzilla – Attachment 183702 Details for
Bug 34025
Uniform titles (130 / 240 /730) in biblio to link to authority file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34025: Changing default link search from au to ti,phr for X30 fields as they are are title type ones. These apply if there is no authorised term linked to for the content
Bug-34025-Changing-default-link-search-from-au-to-.patch (text/plain), 2.45 KB, created by
Bernard
on 2025-07-02 13:37:28 UTC
(
hide
)
Description:
Bug 34025: Changing default link search from au to ti,phr for X30 fields as they are are title type ones. These apply if there is no authorised term linked to for the content
Filename:
MIME Type:
Creator:
Bernard
Created:
2025-07-02 13:37:28 UTC
Size:
2.45 KB
patch
obsolete
>From 824a206412d2c69205d2866f01793268a7fee649 Mon Sep 17 00:00:00 2001 >From: Bernard Scaife <bernard.scaife@openfifth.co.uk> >Date: Wed, 2 Jul 2025 13:26:28 +0000 >Subject: [PATCH] Bug 34025: Changing default link search from au to ti,phr for > X30 fields as they are are title type ones. These apply if there is no > authorised term linked to for the content > >--- > .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 1023867e19..d734466bed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -576,7 +576,7 @@ > </xsl:when> > <xsl:otherwise> > <xsl:attribute name="href"> >- <xsl:text>/cgi-bin/koha/catalogue/search.pl?q=au:"</xsl:text> >+ <xsl:text>/cgi-bin/koha/catalogue/search.pl?q=ti,phr:"</xsl:text> > <xsl:value-of > select="str:encode-uri(marc:subfield[@code='a'], true())" /> > <xsl:text>"</xsl:text> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index fe6752f223..bdc730f9d1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -678,7 +678,7 @@ > </xsl:when> > <xsl:otherwise> > <xsl:attribute name="href"> >- <xsl:text>/cgi-bin/koha/opac-search.pl?q=au:"</xsl:text> >+ <xsl:text>/cgi-bin/koha/opac-search.pl?q=ti,phr:"</xsl:text> > <xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/> > <xsl:text>"</xsl:text> > <xsl:if test="$AuthorLinkSortBy!='default'"> >-- >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 34025
:
152389
|
180475
|
180681
|
183702
|
183703
|
183704