mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(recent-files): join extended cache only when needed on search
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
This commit is contained in:
parent
d363057a34
commit
ba2676866c
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class QuerySearchHelper {
|
|||
|| in_array('upload_time', $requestedFields)
|
||||
|| in_array('last_activity', $orderFields);
|
||||
|
||||
$query = $builder->selectFileCache('file', true);
|
||||
$query = $builder->selectFileCache('file', $joinExtendedCache);
|
||||
|
||||
if (in_array('systemtag', $requestedFields)) {
|
||||
$this->equipQueryForSystemTags($query, $this->requireUser($searchQuery));
|
||||
|
|
|
|||
Loading…
Reference in a new issue