diff --git a/src/SearchDrivers/BaseSearchDriver.php b/src/SearchDrivers/BaseSearchDriver.php index 2c96b75..eccd645 100755 --- a/src/SearchDrivers/BaseSearchDriver.php +++ b/src/SearchDrivers/BaseSearchDriver.php @@ -99,6 +99,7 @@ abstract class BaseSearchDriver implements SearchDriverInterface { $this->query = \DB::table($this->table) ->select($this->columns) + ->where('deleted_at',NULL) ->addSelect($this->buildSelectQuery($this->searchFields)) ->orderBy($this->relevanceFieldName, 'desc') ->having($this->relevanceFieldName, '>', 0);