From 70e9e314972080ff92ac9723e4d0222df1dd0425 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Mon, 14 Dec 2015 12:04:58 +0100 Subject: [PATCH] Fix last Oracle issue --- apps/dav/lib/carddav/carddavbackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5