bug 4311: respect OPACXSLTResultsDisplay
authorGalen Charlton <gmcharlt@gmail.com>
Tue, 25 May 2010 15:00:29 +0000 (11:00 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 25 May 2010 15:22:47 +0000 (11:22 -0400)
commitb1ed3af63350d0d754fb309644b3d57be707041b
tree89a8d23c4a2e76c381ee5fa81d524f5e919323ee
parentf243b83ec0f1942ed19bc2c2cefaba2a9bc03ebd
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