summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2019-12-10 09:47:30 +0100
committertobiasKaminsky <tobias@kaminsky.me>2019-12-10 09:47:30 +0100
commit41cb2141122c04ab6cf2fdaa112361bdb82dfc49 (patch)
tree3d2b5dd39e0addaff63bfbe7b862f83b3798fdb3 /lib/private
parentc3d223fa58fdc23333fe68976edff538cf7dbeab (diff)
downloadnextcloud-server-41cb2141122c04ab6cf2fdaa112361bdb82dfc49.tar.gz
nextcloud-server-41cb2141122c04ab6cf2fdaa112361bdb82dfc49.zip
fix https://github.com/nextcloud/server/issues/18313
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'lib/private')
-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];
}