]> git.koha-community.org Git - koha.git/commit
Bug 7076: Lists render OPAC XSLT on staff side
authorIan Walls <ian.walls@bywatersolutions.com>
Fri, 21 Oct 2011 15:43:17 +0000 (11:43 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 16 Nov 2011 13:53:20 +0000 (08:53 -0500)
commit5fee6f518aab4160ad6edd834a862743d67077ee
tree892edbcdef24e702fd2f520cd73cbf27ca1be205
parentfd5f34d2acfe3725acfcbddcd034ec51cc907353
Bug 7076: Lists render OPAC XSLT on staff side

Adds a small check in C4::VirtualShelves::Page::shelfpage to only render
OPACResultsXSLT if the $type is 'opac'.  Since parsing the XML is such an expensive
thing, and the resulting XSLTBloc is not used on the staff side, this will increase
performance for Lists in the intranet

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit a0a9368beccd1748e720966f25869259a30e68f2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/VirtualShelves/Page.pm