@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Sofa\Eloquence; |
| 4 | 4 | |
| 5 | -use Closure; |
|
| 6 | -use InvalidArgumentException; |
|
| 7 | 5 | use Sofa\Eloquence\Searchable\Column; |
| 8 | 6 | use Illuminate\Database\Query\Expression; |
| 9 | 7 | use Sofa\Hookable\Builder as HookableBuilder; |
@@ -108,8 +108,8 @@ |
||
| 108 | 108 | : (float) $threshold ; |
| 109 | 109 | |
| 110 | 110 | $subquery->select($this->model->getTable().'.*') |
| 111 | - ->from($this->model->getTable()) |
|
| 112 | - ->groupBy($this->model->getQualifiedKeyName()); |
|
| 111 | + ->from($this->model->getTable()) |
|
| 112 | + ->groupBy($this->model->getQualifiedKeyName()); |
|
| 113 | 113 | |
| 114 | 114 | $this->addSearchClauses($subquery, $columns, $words, $threshold); |
| 115 | 115 | |