TacticalController: Use correct state filter for big services url

fixes #4714
This commit is contained in:
Johannes Meyer 2022-03-24 09:47:54 +01:00
parent 6802abc2c7
commit 7a12849a66
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ class TacticalController extends Controller
->setLabelBigUrl($this->view->filteredUrl( ->setLabelBigUrl($this->view->filteredUrl(
'monitoring/list/services', 'monitoring/list/services',
array( array(
'service_state' => 2, 'service_state' => $summary->services_critical_unhandled > 0
|| ! $summary->services_unknown_unhandled ? 2 : 3,
'service_handled' => 0, 'service_handled' => 0,
'sort' => 'service_last_check', 'sort' => 'service_last_check',
'dir' => 'asc' 'dir' => 'asc'