NotificationhistoryQuery: Rename baseQuery to select

This commit is contained in:
Eric Lippmann 2014-04-15 18:07:34 +02:00
parent cb812b59a8
commit 687fa09f7c
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class NotificationhistoryQuery extends IdoQuery
$this->columnMap['history']['output'] = "('[' || $concattedContacts || '] ' || n.output)";
$this->baseQuery = $this->db->select()->from(
$this->select->from(
array('n' => $this->prefix . 'notifications'),
array()
)->join(
@ -58,7 +58,7 @@ class NotificationhistoryQuery extends IdoQuery
)->group('cn.notification_id');
if ($this->ds->getDbType() === 'pgsql') {
$this->baseQuery->group('n.object_id')
$this->select->group('n.object_id')
->group('n.start_time')
->group('n.output')
->group('n.state');