also work with group shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
b85459964c
commit
5acbdf1e36
|
@ -715,7 +715,11 @@ class DefaultShareProvider implements IShareProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
$qb = $this->dbConn->getQueryBuilder();
|
$qb = $this->dbConn->getQueryBuilder();
|
||||||
$qb->select('s.*', 'f.fileid', 'f.path')
|
$qb->select('s.*',
|
||||||
|
'f.fileid', 'f.path', 'f.permissions AS f_permissions', 'f.storage', 'f.path_hash',
|
||||||
|
'f.parent AS f_parent', 'f.name', 'f.mimetype', 'f.mimepart', 'f.size', 'f.mtime', 'f.storage_mtime',
|
||||||
|
'f.encrypted', 'f.unencrypted_size', 'f.etag', 'f.checksum'
|
||||||
|
)
|
||||||
->selectAlias('st.id', 'storage_string_id')
|
->selectAlias('st.id', 'storage_string_id')
|
||||||
->from('share', 's')
|
->from('share', 's')
|
||||||
->leftJoin('s', 'filecache', 'f', $qb->expr()->eq('s.file_source', 'f.fileid'))
|
->leftJoin('s', 'filecache', 'f', $qb->expr()->eq('s.file_source', 'f.fileid'))
|
||||||
|
|
Loading…
Reference in New Issue