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

(-)a/C4/Search.pm (-2 / +8 lines)
Lines 1270-1276 sub buildQuery { Link Here
1270
        # group_OR_limits, prefixed by mc-
1270
        # group_OR_limits, prefixed by mc-
1271
        # OR every member of the group
1271
        # OR every member of the group
1272
        elsif ( $this_limit =~ /mc/ ) {
1272
        elsif ( $this_limit =~ /mc/ ) {
1273
#        if ( $this_limit =~ /mc/ ) {
1273
        
1274
            if ( $this_limit =~ /mc-ccode:/ ) {
1275
                # in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes
1276
                $this_limit =~ tr/"//d;
1277
                my ($k,$v) = split(/:/, $this_limit,2);
1278
                $this_limit = $k.":\"".$v."\"";
1279
            }
1280
1274
            $group_OR_limits .= " or " if $group_OR_limits;
1281
            $group_OR_limits .= " or " if $group_OR_limits;
1275
            $limit_desc      .= " or " if $group_OR_limits;
1282
            $limit_desc      .= " or " if $group_OR_limits;
1276
            $group_OR_limits .= "$this_limit";
1283
            $group_OR_limits .= "$this_limit";
1277
- 

Return to bug 5693