NotificationHistoryQuery: Add missing field to group statement

refs #5896
This commit is contained in:
Marius Hein 2014-08-29 11:45:06 +02:00
parent e46dd4bdfd
commit b4e9bad87a
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ class NotificationhistoryQuery extends IdoQuery
$this->select->group('n.object_id')
->group('n.start_time')
->group('n.output')
->group('n.state');
->group('n.state')
->group('o.objecttype_id');
}
$this->joinedVirtualTables = array('history' => true);