X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FSearch.pm;h=56468b5098ca6f94e5a13a23374bfbdc81b65669;hb=2bc542789fdf9d551a408bc8349daa062a37c496;hp=7adb6254d6385981f8e0f71833a706f7b67dd5e9;hpb=c9d0c168679d6b225e305b45331e1e86ee4939d1;p=koha_gimpoz diff --git a/C4/Search.pm b/C4/Search.pm index 7adb6254d6..56468b5098 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -71,6 +71,7 @@ This module provides searching functions for Koha's bibliographic databases &AddSearchHistory &GetDistinctValues &enabled_staff_search_views + &SimpleSearch ); # make all your functions, whether exported or not; @@ -1775,8 +1776,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, \@hiddenitems); + $oldbiblio->{XSLTResultsRecord} = XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, $interface."XSLTResultsDisplay", 1, \@hiddenitems); # the last parameter tells Koha to clean up the problematic ampersand entities that Zebra outputs }