mirror of
https://github.com/nextcloud/server.git
synced 2026-06-04 14:24:59 -04:00
fix: make joining on tags in search queries work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
80f8c7949e
commit
ad88fd07e3
1 changed files with 0 additions and 1 deletions
|
|
@ -110,7 +110,6 @@ class QuerySearchHelper {
|
|||
$query
|
||||
->leftJoin('file', 'vcategory_to_object', 'tagmap', $query->expr()->eq('file.fileid', 'tagmap.objid'))
|
||||
->leftJoin('tagmap', 'vcategory', 'tag', $query->expr()->andX(
|
||||
$query->expr()->eq('tagmap.type', 'tag.type'),
|
||||
$query->expr()->eq('tagmap.categoryid', 'tag.id'),
|
||||
$query->expr()->eq('tag.type', $query->createNamedParameter('files')),
|
||||
$query->expr()->eq('tag.uid', $query->createNamedParameter($user->getUID()))
|
||||
|
|
|
|||
Loading…
Reference in a new issue