Koha/koha-tmpl/intranet-tmpl/prog/en/xslt
Nick Clemens 69d8b560d9 Bug 32695: Fix search strings for 775, 780, 785 and 787
In the past due to some misunderstanding of the MARC standard
we built the search links for these fields using $a and $t with
the title index. But we actually need to search $t as title
and $a as author.
This patch fixes the templates for the MARC 7xx fields:
* 775
* 780
* 785
* 787

To test:
* Ensure systme preference 'UseControlNumber' is set to don't
* Create a record with the linking fields above
* Look at the OPAC and staff interface detail views
* Verify the content of your fields shows and the links combine a+t as a title search
* Apply patch
* Verify you have nicely formatted links now

Example:
775 _ _ ‡asomeone‡ttitle775
780 0 2 ‡asomeone‡ttitle780
785 0 2 ‡asomeone‡ttitle785
787 _ _ ‡ilabel:‡ttitle787‡asomeone

Signed-off-by: Sabrina Kiehl <kiehl@mpis.mpg.de>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit b2b3d88b73)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-05-23 17:02:56 +02:00
..
compact.xsl
Del9LinksExcept952.xsl
Del9LinksExcept995.xsl
Del952.xsl
Del995.xsl
identity.xsl
MARC21authResults.xsl Bug 30554: Embelished MARC21 XSLT example 2024-05-23 10:24:48 +02:00
MARC21Languages.xsl
MARC21slim2ATOM.xsl
MARC21slim2DC.xsl
MARC21slim2intranetDetail.xsl Bug 32695: Fix search strings for 775, 780, 785 and 787 2024-05-23 17:02:56 +02:00
MARC21slim2intranetResults.xsl Bug 35410: Use "Online resources" label in search results 2023-12-07 11:23:52 -10:00
MARC21slim2MADS.xsl
MARC21slim2MODS.xsl
MARC21slim2MODS3-1.xsl
MARC21slim2OAIDC.xsl
MARC21slim2RDFDC.xsl
MARC21slim2RDFDC.xsl.1
MARC21slim2RSS2.xsl
MARC21slim2SRWDC.xsl
MARC21slim9522852.xsl
MARC21slimUtils-MODS31.xsl
MARC21slimUtils.xsl Bug 34020: (QA follow-up) Indentation fix 2023-10-25 10:35:34 -03:00
MARC21slimUtils2.xsl
oilsMARC21slim2HTML.xsl
plainMARC.xsl Bug 33281: Improve detail auth links and add to marc preview 2023-04-12 09:26:55 -03:00
UNIMARC_compact.xsl
UNIMARCauthResults.xsl
UNIMARCslim2intranetDetail.xsl
UNIMARCslim2intranetResults.xsl
UNIMARCslim2OAIDC.xsl
UNIMARCslim2RDFDC.xsl
UNIMARCslim2SRWDC.xsl
UNIMARCslimUtils.xsl Bug 30430: (QA follow-up) Several fixes 2022-07-01 16:51:43 -03:00