From 20f8d1094ab9958dc50104a79a2ad0f0a9e0ce1a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 22 Jul 2017 12:21:00 +0200 Subject: Can not insert auto increment on oracle Signed-off-by: Joas Schilling --- lib/private/Comments/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Comments') diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 0c2a5efe601..078e1eef4d3 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -411,7 +411,7 @@ class Manager implements ICommentsManager { */ public function getNumberOfUnreadCommentsForFolder($folderId, IUser $user) { $qb = $this->dbConn->getQueryBuilder(); - $query = $qb->select('fileid') + $query = $qb->select('f.fileid') ->selectAlias( $qb->createFunction('COUNT(' . $qb->getColumnName('c.id') . ')'), 'num_ids' -- cgit v1.2.3