NotificationQuery: Use query column `notification_contact_name'
...instead of `notification_contact'. refs #8613
This commit is contained in:
parent
15399d77ce
commit
644a386bf8
|
@ -64,7 +64,7 @@ class Monitoring_AlertsummaryController extends Controller
|
|||
'service_description',
|
||||
'service_display_name',
|
||||
'notification_output',
|
||||
'notification_contact',
|
||||
'notification_contact_name',
|
||||
'notification_start_time',
|
||||
'notification_state'
|
||||
)
|
||||
|
@ -482,7 +482,7 @@ class Monitoring_AlertsummaryController extends Controller
|
|||
'service_description',
|
||||
'service_display_name',
|
||||
'notification_output',
|
||||
'notification_contact',
|
||||
'notification_contact_name',
|
||||
'notification_start_time',
|
||||
'notification_state'
|
||||
)
|
||||
|
|
|
@ -328,7 +328,7 @@ class Monitoring_ListController extends Controller
|
|||
'host_name',
|
||||
'service_description',
|
||||
'notification_output',
|
||||
'notification_contact',
|
||||
'notification_contact_name',
|
||||
'notification_start_time',
|
||||
'notification_state',
|
||||
'host_display_name',
|
||||
|
|
|
@ -159,7 +159,7 @@ class Monitoring_ShowController extends Controller
|
|||
'host_name',
|
||||
'service_description',
|
||||
'notification_output',
|
||||
'notification_contact',
|
||||
'notification_contact_name',
|
||||
'notification_start_time',
|
||||
'notification_state',
|
||||
'host_display_name',
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -17,7 +17,7 @@ class Notification extends DataView
|
|||
'service_description',
|
||||
'notification_state',
|
||||
'notification_start_time',
|
||||
'notification_contact',
|
||||
'notification_contact_name',
|
||||
'notification_output',
|
||||
'notification_command',
|
||||
'host_display_name',
|
||||
|
|
Loading…
Reference in New Issue