]> 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)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 10 Jul 2015 13:53:48 +0000 (10:53 -0300)
commit468d3d9c83a9760e796cdf43c7da2766ccf7c9b9
tree9430719d4a93ce9f856b9d66dc4eb3421985331c
parent5a57b3c163e6609aa99ab34e906aa05bd033d5ff
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>
opac/opac-detail.pl