[Koha-patches] [PATCH] Bug 5409 - Fix call number not shown on opac search result page

Amit Gupta amit.gupta at osslabs.biz
Mon Nov 15 06:28:46 CET 2010


---
 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



More information about the Koha-patches mailing list