summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Migration
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-25 19:26:47 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-28 20:21:36 +0200
commit8d00458b568185dfb405c79f38930bc4a64855ff (patch)
tree37611e9e97a18f373c21129618714ec896df9df0 /apps/dav/lib/Migration
parentc76633bb8aabff7f160d1b5cd0b7f2a259d009a7 (diff)
downloadnextcloud-server-8d00458b568185dfb405c79f38930bc4a64855ff.tar.gz
nextcloud-server-8d00458b568185dfb405c79f38930bc4a64855ff.zip
unit test custom calendar search
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Migration')
-rw-r--r--apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php
index c80289c1b30..a4fa2c63e02 100644
--- a/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php
+++ b/apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php
@@ -93,7 +93,7 @@ class BuildCalendarSearchIndexBackgroundJob extends QueuedJob {
$startTime = $this->timeFactory->getTime();
$query = $this->db->getQueryBuilder();
- $query->select(['id', 'calendarid', 'objecturi', 'calendardata'])
+ $query->select(['id', 'calendarid', 'uri', 'calendardata'])
->from('calendarobjects')
->where($query->expr()->lte('id', $query->createNamedParameter($stopAt)))
->andWhere($query->expr()->gt('id', $query->createNamedParameter($offset)))