]> git.koha-community.org Git - koha.git/commit
Bug 11175: (QA follow-up) Do not fetch twice
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 24 Oct 2021 12:11:02 +0000 (12:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 14:46:02 +0000 (16:46 +0200)
commitdfce3d3c0ce53ba3c40adaf69bc924bdfafed051
treea9c78d2d8f620a192860ea6b6a509ace0662ddde
parent936e86366cb44c9dce510cd421a546890599e51f
Bug 11175: (QA follow-up) Do not fetch twice

We were fetching components in the first call of XSLTParse4Display
(opac-detail around L220). And again (opac-detail around L660).
Same for catalogue/detail.pl.
Moving the XSLT block in both scripts and removing the code from
XSLT.pm which again makes the tests obsolete.

Not hiding the link when there are components. Might be helpful too.

Also fixing biblionumber in the XSLTParse4Display call for parts.

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
catalogue/detail.pl
opac/opac-detail.pl