NotificationhistoryQuery: Rename baseQuery to select

This commit is contained in:
Eric Lippmann 2014-04-15 18:07:34 +02:00
parent cb812b59a8
commit 687fa09f7c

View File

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