---
 opac/opac-search.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opac/opac-search.pl b/opac/opac-search.pl
index 2bfcb6d..6ac8090 100755
--- a/opac/opac-search.pl
+++ b/opac/opac-search.pl
@@ -543,7 +543,7 @@ for (my $i=0;$i<@servers;$i++) {
             $template->param(stopwords_removed => "@$stopwords_removed") if 
$stopwords_removed;
             $template->param(results_per_page =>  $results_per_page);
             $template->param(SEARCH_RESULTS => \...@newresults,
-                                OPACItemsResultsDisplay => 
(C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0),
+                                OPACItemsResultsDisplay => 
(C4::Context->preference("OPACItemsResultsDisplay")),
                             );
             ## Build the page numbers on the bottom of the page
             my @page_numbers;
-- 
1.5.4.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to