Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Updating 0.0.1 (#11)
Browse files Browse the repository at this point in the history
* fixing config key + updating the Usage on README (#6)

* Rename ElasticsearchEngineTets.php to ElasticsearchEngineTest.php (#7)

* Update ElasticsearchEngine.php (#10)
  • Loading branch information
ErickTamayo authored Aug 26, 2016
1 parent 5ca6a12 commit e381618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticsearchEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ protected function performSearch(Builder $builder, array $options = [])
$params['body']['size'] = $options['size'];
}

if (count($options['numericFilters'])) {
if (isset($options['numericFilters'])) {
$params['body']['query']['bool']['must'] = array_merge($params['body']['query']['bool']['must'],
$options['numericFilters']);
}
Expand Down

0 comments on commit e381618

Please sign in to comment.