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

(-)a/C4/Search.pm (-2 / +7 lines)
Lines 1043-1049 sub buildQuery { Link Here
1043
# for handling ccl, cql, pqf queries in diagnostic mode, skip the rest of the steps
1043
# for handling ccl, cql, pqf queries in diagnostic mode, skip the rest of the steps
1044
# DIAGNOSTIC ONLY!!
1044
# DIAGNOSTIC ONLY!!
1045
    if ( $query =~ /^ccl=/ ) {
1045
    if ( $query =~ /^ccl=/ ) {
1046
        return ( undef, $', $', "q=ccl=$'", $', '', '', '', '', 'ccl' );
1046
        my $q=$';
1047
        # This is needed otherwise ccl= and &limit won't work together, and
1048
        # this happens when selecting a subject on the opac-detail page
1049
        if (@limits) {
1050
            $q .= ' and '.join(' and ', @limits);
1051
        }
1052
        return ( undef, $q, $q, "q=ccl=$q", $q, '', '', '', '', 'ccl' );
1047
    }
1053
    }
1048
    if ( $query =~ /^cql=/ ) {
1054
    if ( $query =~ /^cql=/ ) {
1049
        return ( undef, $', $', "q=cql=$'", $', '', '', '', '', 'cql' );
1055
        return ( undef, $', $', "q=cql=$'", $', '', '', '', '', 'cql' );
1050
- 

Return to bug 4852