summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Cache/QuerySearchHelper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php
index 2d9d8f374f7..9055344adb1 100644
--- a/lib/private/Files/Cache/QuerySearchHelper.php
+++ b/lib/private/Files/Cache/QuerySearchHelper.php
@@ -156,6 +156,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];
}