Merge pull request #4283 from nextcloud/shares-by-folder-quote
properly quota table names in getSharesInFolder
This commit is contained in:
commit
11d6fe1023
|
@ -608,7 +608,7 @@ class FederatedShareProvider implements IShareProvider {
|
|||
);
|
||||
}
|
||||
|
||||
$qb->innerJoin('s', 'filecache' ,'f', 's.file_source = f.fileid');
|
||||
$qb->innerJoin('s', 'filecache' ,'f', $qb->expr()->eq('s.file_source', 'f.fileid'));
|
||||
$qb->andWhere($qb->expr()->eq('f.parent', $qb->createNamedParameter($node->getId())));
|
||||
|
||||
$qb->orderBy('id');
|
||||
|
|
|
@ -839,7 +839,7 @@ class ShareByMailProvider implements IShareProvider {
|
|||
);
|
||||
}
|
||||
|
||||
$qb->innerJoin('s', 'filecache' ,'f', 's.file_source = f.fileid');
|
||||
$qb->innerJoin('s', 'filecache' ,'f', $qb->expr()->eq('s.file_source', 'f.fileid'));
|
||||
$qb->andWhere($qb->expr()->eq('f.parent', $qb->createNamedParameter($node->getId())));
|
||||
|
||||
$qb->orderBy('id');
|
||||
|
|
|
@ -493,7 +493,7 @@ class DefaultShareProvider implements IShareProvider {
|
|||
);
|
||||
}
|
||||
|
||||
$qb->innerJoin('s', 'filecache' ,'f', 's.file_source = f.fileid');
|
||||
$qb->innerJoin('s', 'filecache' ,'f', $qb->expr()->eq('s.file_source', 'f.fileid'));
|
||||
$qb->andWhere($qb->expr()->eq('f.parent', $qb->createNamedParameter($node->getId())));
|
||||
|
||||
$qb->orderBy('id');
|
||||
|
|
Loading…
Reference in New Issue