From: Thomas Müller Date: Mon, 14 Dec 2015 11:04:58 +0000 (+0100) Subject: Fix last Oracle issue X-Git-Tag: v9.0beta1~467^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=70e9e314972080ff92ac9723e4d0222df1dd0425;p=nextcloud-server.git Fix last Oracle issue --- diff --git a/apps/dav/lib/carddav/carddavbackend.php b/apps/dav/lib/carddav/carddavbackend.php index 7f7d458d560..07b928e9921 100644 --- a/apps/dav/lib/carddav/carddavbackend.php +++ b/apps/dav/lib/carddav/carddavbackend.php @@ -689,7 +689,7 @@ class CardDavBackend implements BackendInterface, SyncSupport { */ public function search($addressBookId, $pattern, $searchProperties) { $query = $this->db->getQueryBuilder(); - $query->selectDistinct(['carddata', 'c']) + $query->select('carddata') ->from($this->dbCardsTable, 'c') ->leftJoin('c', $this->dbCardsPropertiesTable, 'cp', $query->expr()->eq('cp.cardid', 'c.id')); foreach ($searchProperties as $property) {