]> git.koha-community.org Git - koha.git/commit
Bug 11175: (QA follow-up) Take account of bug 15851
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 3 Aug 2021 13:29:27 +0000 (14:29 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 14:46:02 +0000 (16:46 +0200)
commit37c7b9358dc0dc35474597a4cbae25742cf529d3
treed5fe3adfdd3f95bfc53c31b2ecedcea748cd43c7
parentacdbbcd40cec81399227625c7ce132663a1ed418
Bug 11175: (QA follow-up) Take account of bug 15851

We can simplify the code introduced by bug 15851 by moving the
'show_analytics_link' variable assignment into C4::XSLT and thus making
the code more DRY.

Taking the code in bug 15851 as inspiration this patch also adds proper
handling for UseControlNumber vs EasyAnalytics style 773 linking and
ensures we only return analytic component parts and no other records
containing 773's.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/XSLT.pm
Koha/Biblio.pm
Koha/Util/Search.pm
catalogue/detail.pl
opac/opac-detail.pl
t/Koha/Util/Search.t