Bug 5409 - Fix call number not shown on opac search result page
authorAmit Gupta <amit.gupta@osslabs.biz>
Mon, 15 Nov 2010 10:53:49 +0000 (16:23 +0530)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 8 Oct 2012 15:00:25 +0000 (17:00 +0200)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
opac/opac-search.pl

index bcdf671..7677d86 100755 (executable)
@@ -696,7 +696,7 @@ for (my $i=0;$i<@servers;$i++) {
             $hide = ($hide =~ m/\S/) if $hide; # Just in case it has some spaces/new lines
             $template->param(
                 SEARCH_RESULTS => \@newresults,
-                OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0),
+                OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay")),
                 suppress_result_number => $hide,
                             );
            if (C4::Context->preference("OPACLocalCoverImages")){