aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/QuerySearchHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Cache/QuerySearchHelper.php')
-rw-r--r--lib/private/Files/Cache/QuerySearchHelper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php
index 2d20da72f51..6812caabd24 100644
--- a/lib/private/Files/Cache/QuerySearchHelper.php
+++ b/lib/private/Files/Cache/QuerySearchHelper.php
@@ -152,7 +152,8 @@ class QuerySearchHelper {
'name' => 'string',
'size' => 'integer',
'tagname' => 'string',
- 'favorite' => 'boolean'
+ 'favorite' => 'boolean',
+ 'fileid' => 'integer'
];
$comparisons = [
'mimetype' => ['eq', 'like'],
@@ -161,6 +162,7 @@ class QuerySearchHelper {
'size' => ['eq', 'gt', 'lt', 'gte', 'lte'],
'tagname' => ['eq', 'like'],
'favorite' => ['eq'],
+ 'fileid' => ['eq']
];
if (!isset($types[$operator->getField()])) {