Skip to content

Commit

Permalink
fix: use getSearchIndex() to get correct ES index
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Taylor-Jackson committed Jan 12, 2018
1 parent f94d876 commit 2557ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DesignMyNight/Elasticsearch/EloquentBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function setModel(Model $model)
{
$this->model = $model;

$this->query->from($model->getTable());
$this->query->from($model->getSearchIndex());

$this->query->type($model->getSearchType());

Expand Down

0 comments on commit 2557ea8

Please sign in to comment.