Skip to content

Commit

Permalink
Merge pull request #51 from fritze/patch-2
Browse files Browse the repository at this point in the history
Fix signature on SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis::query()
  • Loading branch information
VeggieMeat committed Sep 22, 2014
2 parents 5a11521 + 105dff9 commit 158535e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class SearchApiElasticsearchViewsHandlerArgumentMoreLikeThis extends SearchApiVi
}
}

public function query() {
parent::query();
public function query($group_by = FALSE) {
parent::query($group_by);
$mlt = $this->query->getOption('search_api_mlt');
$mlt['min_doc_freq'] = $this->options['min_doc_freq'];
$mlt['min_term_freq'] = $this->options['min_term_freq'];
Expand Down

0 comments on commit 158535e

Please sign in to comment.