Skip to content

Commit

Permalink
[SOLR] FIX search *:* if indexes array contains empty values
Browse files Browse the repository at this point in the history
  • Loading branch information
joubu committed Sep 29, 2011
1 parent 9ab697d commit c759f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C4/Search/Query.pm
Expand Up @@ -252,7 +252,7 @@ sub buildQuery {
my $idx;

# 'Normal' search
if ( not @$indexes ) {
if ( not @$indexes or not grep { length $_ } @$indexes ) {
return C4::Search::Query::Solr->normalSearch(@$operands[0]);
}

Expand Down

0 comments on commit c759f40

Please sign in to comment.