From c302db0897afa9276564c901108bc4e26724d30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Delaune?= Date: Fri, 3 Feb 2012 16:58:57 +0100 Subject: [PATCH 3/3] Bug 6919/4032:followup to fix compatibility between 6919 and 4032 --- 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