Skip to content

Commit

Permalink
change filter to be addMust in prepareBool method
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedhafezqo committed Dec 13, 2018
1 parent 60fbc11 commit 71bd424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builders/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,6 @@ private function prepareBoolShould(array $query)
$boolOr->addShould($condition);
}

$this->filter->addShould($boolOr);
$this->filter->addMust($boolOr);
}
}

0 comments on commit 71bd424

Please sign in to comment.