Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.0
-
Fix Version/s: 3.0.11rc1, 3.2.8rc1, 3.4.2rc1, 4.0.0alpha1, 4.0 (plan)
-
Component/s: None
-
Labels:None
-
Environment:debian stretch
-
Team:Team A
-
Sprint:Sprint 15, Sprint 16
-
Story Points:0.125
Description
availability reports are not well sorted.
according to the code in report2.php, they should be sorted by host, then by description:
CArrayHelper::sort($triggers, ['host', 'description']);
but there is no "host" field in the trigger array, so the report is only sorted by description.
the trigger array contains a "hosts" array (which in my case always has only one element), that has a "name" field that can be used to sort by host.