|
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 |
- |
|
|