Merge pull request #18314 from nextcloud/fixFileIdSearch
Fix ambigious fileID on search
This commit is contained in:
commit
4fad9e4e6b
|
@ -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…
Reference in New Issue