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

(-)a/C4/Search.pm (-1 lines)
Lines 1648-1654 sub searchResults { Link Here
1648
        }
1648
        }
1649
1649
1650
        # XSLT processing of some stuff
1650
        # XSLT processing of some stuff
1651
	my $debug=1;
1652
	use C4::Charset;
1651
	use C4::Charset;
1653
	SetUTF8Flag($marcrecord);
1652
	SetUTF8Flag($marcrecord);
1654
	$debug && warn $marcrecord->as_formatted;
1653
	$debug && warn $marcrecord->as_formatted;
(-)a/cataloguing/addbooks.pl (-2 / +6 lines)
Lines 68-75 foreach my $thisframeworkcode ( sort {$frameworks->{$a} cmp $frameworks->{$b}}ke Link Here
68
# Searching the catalog.
68
# Searching the catalog.
69
if ($query) {
69
if ($query) {
70
70
71
    # build query
72
    my @operands = $query;
73
    my (@operators, @indexes, @sort_by, @limits) = ();
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
71
    # find results
76
    # find results
72
    my ( $error, $marcresults, $total_hits ) = SimpleSearch($query, $results_per_page * ($page - 1), $results_per_page);
77
    my ( $error, $marcresults, $total_hits ) = SimpleSearch($builtquery, $results_per_page * ($page - 1), $results_per_page);
73
78
74
    if ( defined $error ) {
79
    if ( defined $error ) {
75
        $template->param( error => $error );
80
        $template->param( error => $error );
76
- 

Return to bug 4116