bug 4311: respect OPACXSLTResultsDisplay
authorGalen Charlton <gmcharlt@gmail.com>
Tue, 25 May 2010 15:00:29 +0000 (11:00 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 26 May 2010 04:30:25 +0000 (16:30 +1200)
commita4c06ad0f04058017e007677cb723c521995c21e
tree318fa89952ff1ca2516f897399e26acc1ed13506
parent3c4b709fff9b195211cd9a6cdf1eb49ffb2b87c1
bug 4311: respect OPACXSLTResultsDisplay

Check OPACXSLTResultsDisplay instead of XSLTResultsDisplay when
determining whether to use the XSLT bib results stylesheet for
OPAC search results.

In the process, added a new $search_context parameter to
C4::Search::searchResults() to specify whether results
are to be served up for the staff interface or for the
OPAC.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Search.pm
catalogue/search.pl
cataloguing/addbooks.pl
opac/opac-search.pl