diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index 63e10ed2fa..8e76cea4d7 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -160,7 +160,10 @@ sub SearchSuggestion { if ( exists $suggestion->{$field} and defined $suggestion->{$field} and $suggestion->{$field} ne '__ANY__' - and $suggestion->{$field} ne q|| + and ( + $suggestion->{$field} ne q|| + or $field eq 'STATUS' + ) ) { if ( $suggestion->{$field} eq '__NONE__' ) { push @query, qq{ AND (suggestions.$field = '' OR suggestions.$field IS NULL) };