---
 C4/Search.pm |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index 32f23c0..0096e69 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1781,8 +1781,7 @@ sub searchResults {
         $debug && warn $marcrecord->as_formatted;
         my $interface = $search_context eq 'opac' ? 'OPAC' : '';
         if (!$scan && C4::Context->preference($interface . 
"XSLTResultsDisplay")) {
-            $oldbiblio->{XSLTResultsRecord} = 
XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, 'Results',
-                                                                
$search_context, 1);
+            $oldbiblio->{XSLTResultsRecord} = 
XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, 
C4::Context->preference($interface . "XSLTResultsDisplay"), 1);
            # the last parameter tells Koha to clean up the problematic 
ampersand entities that Zebra outputs
         }
 
-- 
1.7.0.4

_______________________________________________
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