Merge pull request #18314 from nextcloud/fixFileIdSearch

Fix ambigious fileID on search
pull/18312/head
Roeland Jago Douma 5 years ago committed by GitHub
commit 4fad9e4e6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Files/Cache/QuerySearchHelper.php

@ -161,6 +161,8 @@ class QuerySearchHelper {
$value = self::TAG_FAVORITE;
} else if ($field === 'tagname') {
$field = 'tag.category';
} else if ($field === 'fileid') {
$field = 'file.fileid';
}
return [$field, $value, $type];
}

Loading…
Cancel
Save