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

(-)a/C4/Search.pm (+1 lines)
Lines 1211-1216 sub parseQuery { Link Here
1211
        $QParser->parse( $query );
1211
        $QParser->parse( $query );
1212
        $operands[0] = "pqf=" . $QParser->target_syntax('biblioserver');
1212
        $operands[0] = "pqf=" . $QParser->target_syntax('biblioserver');
1213
    } else {
1213
    } else {
1214
        require Koha::QueryParser::Driver::PQF;
1214
        my $modifier_re = '#(' . join( '|', @{Koha::QueryParser::Driver::PQF->modifiers}) . ')';
1215
        my $modifier_re = '#(' . join( '|', @{Koha::QueryParser::Driver::PQF->modifiers}) . ')';
1215
        s/$modifier_re//g for @operands;
1216
        s/$modifier_re//g for @operands;
1216
    }
1217
    }
(-)a/acqui/neworderbiblio.pl (-5 / +1 lines)
Lines 93-105 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
93
);
93
);
94
94
95
# Searching the catalog.
95
# Searching the catalog.
96
my @operands = $query;
97
my ( @operators, @indexes, @sort_by, @limits ) = ();
98
my ( $builterror, $builtquery, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $stopwords_removed, $query_type ) =
99
      buildQuery( \@operators, \@operands, \@indexes, @limits, \@sort_by, undef, undef );
100
96
101
    # find results
97
    # find results
102
my ( $error, $marcresults, $total_hits ) = SimpleSearch( $builtquery, $results_per_page * ( $page - 1 ), $results_per_page );
98
my ( $error, $marcresults, $total_hits ) = SimpleSearch( $query, $results_per_page * ( $page - 1 ), $results_per_page );
103
99
104
if (defined $error) {
100
if (defined $error) {
105
    $template->param(
101
    $template->param(
(-)a/etc/searchengine/queryparser.yaml (-1 / +3 lines)
Lines 1075-1080 field_mappings: Link Here
1075
      bib1_mapping:
1075
      bib1_mapping:
1076
        biblioserver:
1076
        biblioserver:
1077
          1: Koha-Auth-Number
1077
          1: Koha-Auth-Number
1078
          3: 1
1079
          4: 1
1080
          5: 100
1078
      enabled: 1
1081
      enabled: 1
1079
      index: authority-number
1082
      index: authority-number
1080
      label: Authority-number
1083
      label: Authority-number
1081
- 

Return to bug 9239