]> 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 12:40:30 +0000 (07:40 -0500)
commitd6e27f5cee7c016ee09662d441d922b89a1c6174
tree4296bf038c06828ae04c9e1dae0314c8d8f02123
parent12070db7d8c4e2878665345f2139ae9793964fc7
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