mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Show DOWN hosts before UNREACHABLE when sorting by host_severity
refs #2034
This commit is contained in:
parent
7c88ee70d2
commit
adc2f90f74
@ -134,8 +134,8 @@ class HoststatusQuery extends IdoQuery
|
|||||||
END
|
END
|
||||||
ELSE
|
ELSE
|
||||||
CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 16
|
CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 16
|
||||||
WHEN hs.current_state = 1 THEN 32
|
WHEN hs.current_state = 1 THEN 64
|
||||||
WHEN hs.current_state = 2 THEN 64
|
WHEN hs.current_state = 2 THEN 32
|
||||||
ELSE 256
|
ELSE 256
|
||||||
END
|
END
|
||||||
+
|
+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user