Bug 14496 : Improving opac-detail.pl performances
authorJulian FIOL <julian.fiol@biblibre.com>
Mon, 6 Jul 2015 10:27:08 +0000 (12:27 +0200)
committerMason James <mtj@kohaaloha.com>
Sat, 25 Jul 2015 13:20:18 +0000 (01:20 +1200)
commit26ccf1b00ffcfeaf5cb4557f96df9cb352e5bf10
tree8d49333356f35fdb61f5f36d499a7d0bf528fa33
parente61436eb14249aab12aea6e684cea76df45b6310
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: Mason James <mtj@kohaaloha.com>
opac/opac-detail.pl