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

(-)a/C4/Search.pm (-3 / +1 lines)
Lines 1264-1270 See verbose embedded documentation. Link Here
1264
1264
1265
sub buildQuery {
1265
sub buildQuery {
1266
    my ( $operators, $operands, $indexes, $limits, $sort_by, $scan, $lang) = @_;
1266
    my ( $operators, $operands, $indexes, $limits, $sort_by, $scan, $lang) = @_;
1267
1268
    warn "---------\nEnter buildQuery\n---------" if $DEBUG;
1267
    warn "---------\nEnter buildQuery\n---------" if $DEBUG;
1269
1268
1270
    my $query_desc;
1269
    my $query_desc;
Lines 1534-1540 sub buildQuery { Link Here
1534
            if ( $k !~ /mc-i(tem)?type/ ) {
1533
            if ( $k !~ /mc-i(tem)?type/ ) {
1535
                # in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes
1534
                # in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes
1536
                $this_limit =~ tr/"//d;
1535
                $this_limit =~ tr/"//d;
1537
                $this_limit = $k.":'".$v."'";
1536
                $this_limit = $k.':"'.$v.'"';
1538
            }
1537
            }
1539
1538
1540
            $group_OR_limits{$k} .= " or " if $group_OR_limits{$k};
1539
            $group_OR_limits{$k} .= " or " if $group_OR_limits{$k};
1541
- 

Return to bug 23086