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

(-)a/C4/Suggestions.pm (-2 / +4 lines)
Lines 160-166 sub SearchSuggestion { Link Here
160
        if ( exists $suggestion->{$field}
160
        if ( exists $suggestion->{$field}
161
                and defined $suggestion->{$field}
161
                and defined $suggestion->{$field}
162
                and $suggestion->{$field} ne '__ANY__'
162
                and $suggestion->{$field} ne '__ANY__'
163
                and $suggestion->{$field} ne q||
163
                and (
164
                    $suggestion->{$field} ne q||
165
                        or $field eq 'STATUS'
166
                )
164
        ) {
167
        ) {
165
            if ( $suggestion->{$field} eq '__NONE__' ) {
168
            if ( $suggestion->{$field} eq '__NONE__' ) {
166
                push @query, qq{ AND (suggestions.$field = '' OR suggestions.$field IS NULL) };
169
                push @query, qq{ AND (suggestions.$field = '' OR suggestions.$field IS NULL) };
167
- 

Return to bug 16325