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

(-)a/acqui/neworderbiblio.pl (-3 / +11 lines)
Lines 94-101 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
94
94
95
# Searching the catalog.
95
# Searching the catalog.
96
96
97
    # find results
97
my @operands = $query;
98
my ( $error, $marcresults, $total_hits ) = SimpleSearch( $query, $results_per_page * ( $page - 1 ), $results_per_page );
98
my $QParser;
99
$QParser = C4::Context->queryparser if (C4::Context->preference('UseQueryParser'));
100
my $builtquery;
101
if ($QParser) {
102
    $builtquery = $query;
103
} else {
104
    my ( $builterror,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type);
105
    ( $builterror,$builtquery,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(undef,\@operands);
106
}
107
my ( $error, $marcresults, $total_hits ) = SimpleSearch( $builtquery, $results_per_page * ( $page - 1 ), $results_per_page );
99
108
100
if (defined $error) {
109
if (defined $error) {
101
    $template->param(
110
    $template->param(
102
- 

Return to bug 12323