]> git.koha-community.org Git - koha.git/commit
Bug 14496: Improving opac-detail.pl performances
authorJulian FIOL <julian.fiol@biblibre.com>
Mon, 6 Jul 2015 10:27:08 +0000 (12:27 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 14 Jul 2015 20:53:20 +0000 (08:53 +1200)
commit72c88c29f0198ab608fe6b8f6f0499c36d7545e9
treebf487c6359d04315c43742426424b4e8315a188e
parentf40acf3c32e9cbe469b3699e6c92601477ec4565
Bug 14496: Improving opac-detail.pl performances

Get notes and subjects from MARC record
ONLY when XSLT is not activated.

It's useless doing it when XSLT is activated,
because XSLT takes care of it by its own.

=> With this patch, we are saving precious
milliseconds

I compared the display of some records in XSLT view with and without patch, was the same (as expected).
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
On a slower server, I saw a time save of 0.0274 to 0.0908 seconds (with XSLT).
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 468d3d9c83a9760e796cdf43c7da2766ccf7c9b9)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-detail.pl