mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
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_description',
|
||||||
'service_display_name',
|
'service_display_name',
|
||||||
'notification_output',
|
'notification_output',
|
||||||
'notification_contact',
|
'notification_contact_name',
|
||||||
'notification_start_time',
|
'notification_start_time',
|
||||||
'notification_state'
|
'notification_state'
|
||||||
)
|
)
|
||||||
@ -482,7 +482,7 @@ class Monitoring_AlertsummaryController extends Controller
|
|||||||
'service_description',
|
'service_description',
|
||||||
'service_display_name',
|
'service_display_name',
|
||||||
'notification_output',
|
'notification_output',
|
||||||
'notification_contact',
|
'notification_contact_name',
|
||||||
'notification_start_time',
|
'notification_start_time',
|
||||||
'notification_state'
|
'notification_state'
|
||||||
)
|
)
|
||||||
|
@ -328,7 +328,7 @@ class Monitoring_ListController extends Controller
|
|||||||
'host_name',
|
'host_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
'notification_output',
|
'notification_output',
|
||||||
'notification_contact',
|
'notification_contact_name',
|
||||||
'notification_start_time',
|
'notification_start_time',
|
||||||
'notification_state',
|
'notification_state',
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
|
@ -159,7 +159,7 @@ class Monitoring_ShowController extends Controller
|
|||||||
'host_name',
|
'host_name',
|
||||||
'service_description',
|
'service_description',
|
||||||
'notification_output',
|
'notification_output',
|
||||||
'notification_contact',
|
'notification_contact_name',
|
||||||
'notification_start_time',
|
'notification_start_time',
|
||||||
'notification_state',
|
'notification_state',
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
|
@ -61,9 +61,9 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||||||
<?= sprintf(
|
<?= sprintf(
|
||||||
$this->translate('Sent to %s'),
|
$this->translate('Sent to %s'),
|
||||||
$this->qlink(
|
$this->qlink(
|
||||||
$notification->notification_contact,
|
$notification->notification_contact_name,
|
||||||
'monitoring/show/contact',
|
'monitoring/show/contact',
|
||||||
array('contact_name' => $notification->notification_contact)
|
array('contact_name' => $notification->notification_contact_name)
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
</small>
|
</small>
|
||||||
|
@ -17,7 +17,7 @@ class NotificationQuery extends IdoQuery
|
|||||||
'service_description' => 'o.name2'
|
'service_description' => 'o.name2'
|
||||||
),
|
),
|
||||||
'contact' => array(
|
'contact' => array(
|
||||||
'notification_contact' => 'c_o.name1',
|
'notification_contact_name' => 'c_o.name1',
|
||||||
'contact_object_id' => 'c_o.object_id'
|
'contact_object_id' => 'c_o.object_id'
|
||||||
),
|
),
|
||||||
'command' => array(
|
'command' => array(
|
||||||
|
@ -17,7 +17,7 @@ class Notification extends DataView
|
|||||||
'service_description',
|
'service_description',
|
||||||
'notification_state',
|
'notification_state',
|
||||||
'notification_start_time',
|
'notification_start_time',
|
||||||
'notification_contact',
|
'notification_contact_name',
|
||||||
'notification_output',
|
'notification_output',
|
||||||
'notification_command',
|
'notification_command',
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user