]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 16 Jul 2015 10:27:01 +0000 (10:27 +0000)
commit0545b2f0a59b275b359ab1c578977bd617d0ea26
tree6dde9bad7164d9421125c45e23c282a60da27dec
parent05389408c3b1c3b9af910256cd1f257275d2c3b0
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>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
opac/opac-detail.pl