summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-01 12:15:14 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-01 12:16:05 +0100
commitfc4d0a86efef1af4d7ea17547e259cfdd16e82b4 (patch)
tree7a493b8df05af9b2f0ceb4b83b1316a38330029a /apps/federatedfilesharing
parentce7eb02685940c3d8490965cfc150a591fd92762 (diff)
downloadnextcloud-server-fc4d0a86efef1af4d7ea17547e259cfdd16e82b4.tar.gz
nextcloud-server-fc4d0a86efef1af4d7ea17547e259cfdd16e82b4.zip
Fix merging backend results
* Merge share types correctly * Filter share types * Order share types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php
index be155ac2daf..270bf86daf7 100644
--- a/apps/federatedfilesharing/lib/FederatedShareProvider.php
+++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php
@@ -574,7 +574,7 @@ class FederatedShareProvider implements IShareProvider {
$qb->expr()->eq('item_type', $qb->createNamedParameter('folder'))
))
->andWhere(
- $qb->expr()->eq('shareType', $qb->createNamedParameter(\OCP\Share::SHARE_TYPE_REMOTE))
+ $qb->expr()->eq('share_type', $qb->createNamedParameter(\OCP\Share::SHARE_TYPE_REMOTE))
);
/**