View | Details | Raw Unified | Return to bug 8172
Collapse All | Expand All

(-)a/C4/Search.pm (-1 / +1 lines)
Lines 1792-1798 sub searchResults { Link Here
1792
        # XSLT processing of some stuff
1792
        # XSLT processing of some stuff
1793
	use C4::Charset;
1793
	use C4::Charset;
1794
	SetUTF8Flag($marcrecord);
1794
	SetUTF8Flag($marcrecord);
1795
	$debug && warn $marcrecord->as_formatted;
1795
        warn $marcrecord->as_formatted if $DEBUG;
1796
	my $interface = $search_context eq 'opac' ? 'OPAC' : '';
1796
	my $interface = $search_context eq 'opac' ? 'OPAC' : '';
1797
	if (!$scan && C4::Context->preference($interface . "XSLTResultsDisplay")) {
1797
	if (!$scan && C4::Context->preference($interface . "XSLTResultsDisplay")) {
1798
            $oldbiblio->{XSLTResultsRecord} = XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, $interface."XSLTResultsDisplay", 1, \@hiddenitems);
1798
            $oldbiblio->{XSLTResultsRecord} = XSLTParse4Display($oldbiblio->{biblionumber}, $marcrecord, $interface."XSLTResultsDisplay", 1, \@hiddenitems);
(-)a/cataloguing/addbooks.pl (-3 / +1 lines)
Lines 70-77 if ($query) { Link Here
70
70
71
    # build query
71
    # build query
72
    my @operands = $query;
72
    my @operands = $query;
73
    my (@operators, @indexes, @sort_by, @limits) = ();
73
    my ( $builterror,$builtquery,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(undef,\@operands);
74
    my ( $builterror,$builtquery,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,undef,undef);
75
74
76
    # find results
75
    # find results
77
    my ( $error, $marcresults, $total_hits ) = SimpleSearch($builtquery, $results_per_page * ($page - 1), $results_per_page);
76
    my ( $error, $marcresults, $total_hits ) = SimpleSearch($builtquery, $results_per_page * ($page - 1), $results_per_page);
78
- 

Return to bug 8172