Koha/koha-tmpl/intranet-tmpl/prog/en/xslt
Katrin Fischer 78db69fb56 Bug 20277: Improve 773 link when $a is present
At the moment $t (Title) and $a (Main heading - author) are both
searched in ti,phr, which sometimes may work, as ti contains the
full 245 field, including $c with author information. But often
$c will not match what is in 100$a, so the search fails.

This splits the search string so we search for $t in with ti,phr
and for $a in au.

To test:
- Make sure UseControlnumber is deactivated
- Search for a record with an author in 100 in your catalog
  Example from sample data: Programming Perl / Tom Christiansen, Brian D. Foy & Larry Wall.
- Add a child record using New > Add child record
- Verify that in 773 $a and $t are filled in
- Complete mandatory fields and save the record
. In OPAC and staff interface:
- Verify the link in the detail page is doing a search with ti,phr
- Verify the link works/doesn't work (more likely the latter)
- Apply patch
- Verify the link has changed and (now) works

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-19 09:38:23 +02:00
..
compact.xsl
Del9LinksExcept952.xsl
Del9LinksExcept995.xsl
Del952.xsl
Del995.xsl
identity.xsl
MARC21Languages.xsl
MARC21slim2ATOM.xsl
MARC21slim2DC.xsl
MARC21slim2intranetDetail.xsl Bug 20277: Improve 773 link when $a is present 2021-10-19 09:38:23 +02:00
MARC21slim2intranetResults.xsl
MARC21slim2MADS.xsl
MARC21slim2MODS.xsl
MARC21slim2MODS3-1.xsl
MARC21slim2MODS3.xsl
MARC21slim2MODS32.xsl
MARC21slim2OAIDC.xsl
MARC21slim2RDFDC.xsl
MARC21slim2RDFDC.xsl.1
MARC21slim2RSS2.xsl
MARC21slim2SRWDC.xsl
MARC21slim9522852.xsl
MARC21slimUtils-MODS31.xsl
MARC21slimUtils.xsl Bug 10265: (QA follow-up) Make if-else checks consistent 2021-09-09 10:59:38 +02:00
MARC21slimUtils2.xsl
oilsMARC21slim2HTML.xsl
plainMARC.xsl
UNIMARC_compact.xsl
UNIMARCslim2intranetDetail.xsl
UNIMARCslim2intranetResults.xsl
UNIMARCslim2OAIDC.xsl
UNIMARCslim2RDFDC.xsl
UNIMARCslim2SRWDC.xsl
UNIMARCslimUtils.xsl