Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
revert to select()
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Apr 2, 2019
commit 586a3a14a95b05e52d270322d380a8f5b56a1e2f
2 changes: 1 addition & 1 deletion lib/private/Share20/DefaultShareProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ public function getSharesInFolder($userId, Folder $node, $reshares) {
*/
public function getSharesBy($userId, $shareType, $node, $reshares, $limit, $offset) {
$qb = $this->dbConn->getQueryBuilder();
$qb->selectDistinct('*')
$qb->select('*')
->from('share')
->andWhere($qb->expr()->orX(
$qb->expr()->eq('item_type', $qb->createNamedParameter('file')),
Expand Down