Skip to content

Commit

Permalink
NotificationQuery: Use query column `notification_contact_name'
Browse files Browse the repository at this point in the history
...instead of `notification_contact'.

refs #8613
  • Loading branch information
Johannes Meyer committed Apr 13, 2015
1 parent 15399d7 commit 644a386
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Expand Up @@ -64,7 +64,7 @@ public function indexAction()
'service_description',
'service_display_name',
'notification_output',
'notification_contact',
'notification_contact_name',
'notification_start_time',
'notification_state'
)
Expand Down Expand Up @@ -482,7 +482,7 @@ private function createRecentAlerts()
'service_description',
'service_display_name',
'notification_output',
'notification_contact',
'notification_contact_name',
'notification_start_time',
'notification_state'
)
Expand Down
Expand Up @@ -328,7 +328,7 @@ public function notificationsAction()
'host_name',
'service_description',
'notification_output',
'notification_contact',
'notification_contact_name',
'notification_start_time',
'notification_state',
'host_display_name',
Expand Down
Expand Up @@ -159,7 +159,7 @@ public function contactAction()
'host_name',
'service_description',
'notification_output',
'notification_contact',
'notification_contact_name',
'notification_start_time',
'notification_state',
'host_display_name',
Expand Down
Expand Up @@ -61,9 +61,9 @@ use Icinga\Module\Monitoring\Object\Service;
<?= sprintf(
$this->translate('Sent to %s'),
$this->qlink(
$notification->notification_contact,
$notification->notification_contact_name,
'monitoring/show/contact',
array('contact_name' => $notification->notification_contact)
array('contact_name' => $notification->notification_contact_name)
)
) ?>
</small>
Expand Down
Expand Up @@ -17,7 +17,7 @@ class NotificationQuery extends IdoQuery
'service_description' => 'o.name2'
),
'contact' => array(
'notification_contact' => 'c_o.name1',
'notification_contact_name' => 'c_o.name1',
'contact_object_id' => 'c_o.object_id'
),
'command' => array(
Expand Down
Expand Up @@ -17,7 +17,7 @@ public function getColumns()
'service_description',
'notification_state',
'notification_start_time',
'notification_contact',
'notification_contact_name',
'notification_output',
'notification_command',
'host_display_name',
Expand Down

0 comments on commit 644a386

Please sign in to comment.