mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
Merge branch 'bugfix/sort-hosts-and-services-by-last-state-change-9957'
fixes #9957
This commit is contained in:
commit
c5804eebb7
@ -94,7 +94,8 @@ class ListController extends Controller
|
|||||||
'host_state' => $this->translate('Current State'),
|
'host_state' => $this->translate('Current State'),
|
||||||
'host_display_name' => $this->translate('Hostname'),
|
'host_display_name' => $this->translate('Hostname'),
|
||||||
'host_address' => $this->translate('Address'),
|
'host_address' => $this->translate('Address'),
|
||||||
'host_last_check' => $this->translate('Last Check')
|
'host_last_check' => $this->translate('Last Check'),
|
||||||
|
'host_last_state_change' => $this->translate('Last State Change')
|
||||||
), $query);
|
), $query);
|
||||||
|
|
||||||
$summary = $query->getQuery()->queryServiceProblemSummary();
|
$summary = $query->getQuery()->queryServiceProblemSummary();
|
||||||
@ -159,6 +160,7 @@ class ListController extends Controller
|
|||||||
'service_state' => $this->translate('Current Service State'),
|
'service_state' => $this->translate('Current Service State'),
|
||||||
'service_display_name' => $this->translate('Service Name'),
|
'service_display_name' => $this->translate('Service Name'),
|
||||||
'service_last_check' => $this->translate('Last Service Check'),
|
'service_last_check' => $this->translate('Last Service Check'),
|
||||||
|
'service_last_state_change' => $this->translate('Last State Change'),
|
||||||
'host_severity' => $this->translate('Host Severity'),
|
'host_severity' => $this->translate('Host Severity'),
|
||||||
'host_state' => $this->translate('Current Host State'),
|
'host_state' => $this->translate('Current Host State'),
|
||||||
'host_display_name' => $this->translate('Hostname'),
|
'host_display_name' => $this->translate('Hostname'),
|
||||||
|
@ -117,7 +117,7 @@ class HostStatus extends DataView
|
|||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
'host_last_state_change' => array(
|
'host_last_state_change' => array(
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_DESC
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -123,6 +123,9 @@ class ServiceStatus extends DataView
|
|||||||
),
|
),
|
||||||
'order' => self::SORT_DESC
|
'order' => self::SORT_DESC
|
||||||
),
|
),
|
||||||
|
'service_last_state_change' => array(
|
||||||
|
'order' => self::SORT_DESC
|
||||||
|
),
|
||||||
'host_severity' => array(
|
'host_severity' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'host_severity',
|
'host_severity',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user