|
@ -99,6 +99,7 @@ abstract class BaseSearchDriver implements SearchDriverInterface |
|
|
{ |
|
|
{ |
|
|
$this->query = \DB::table($this->table) |
|
|
$this->query = \DB::table($this->table) |
|
|
->select($this->columns) |
|
|
->select($this->columns) |
|
|
|
|
|
->where('deleted_at',NULL) |
|
|
->addSelect($this->buildSelectQuery($this->searchFields)) |
|
|
->addSelect($this->buildSelectQuery($this->searchFields)) |
|
|
->orderBy($this->relevanceFieldName, 'desc') |
|
|
->orderBy($this->relevanceFieldName, 'desc') |
|
|
->having($this->relevanceFieldName, '>', 0); |
|
|
->having($this->relevanceFieldName, '>', 0); |
|
|