remove old 'owner' filter

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2019-12-03 15:20:54 +01:00
parent c62637da8b
commit f9e5b33c2b
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 0 additions and 5 deletions

View File

@ -125,11 +125,6 @@ class QuerySearchHelper {
private function searchComparisonToDBExpr(IQueryBuilder $builder, ISearchComparison $comparison, array $operatorMap) {
$this->validateComparison($comparison);
// "owner" search is done by limiting the storages queries and should not be put in the sql
if ($comparison->getField() === 'owner') {
return null;
}
list($field, $value, $type) = $this->getOperatorFieldAndValue($comparison);
if (isset($operatorMap[$type])) {
$queryOperator = $operatorMap[$type];