Merge branch 'bugfix/sorting-no-longer-works-as-expected-11729'
fixes #11729
This commit is contained in:
commit
e92aa3de42
|
@ -148,11 +148,6 @@ class HoststatusQuery extends IdoQuery
|
||||||
ELSE 4
|
ELSE 4
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
END
|
|
||||||
+
|
|
||||||
CASE WHEN hs.state_type = 1
|
|
||||||
THEN 8
|
|
||||||
ELSE 0
|
|
||||||
END',
|
END',
|
||||||
'host_state' => 'CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 99 ELSE hs.current_state END',
|
'host_state' => 'CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 99 ELSE hs.current_state END',
|
||||||
'host_state_type' => 'hs.state_type',
|
'host_state_type' => 'hs.state_type',
|
||||||
|
|
|
@ -131,11 +131,6 @@ class ServicestatusQuery extends IdoQuery
|
||||||
ELSE 4
|
ELSE 4
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
END
|
|
||||||
+
|
|
||||||
CASE WHEN hs.state_type = 1
|
|
||||||
THEN 8
|
|
||||||
ELSE 0
|
|
||||||
END',
|
END',
|
||||||
'host_state' => 'CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 99 ELSE hs.current_state END',
|
'host_state' => 'CASE WHEN hs.has_been_checked = 0 OR hs.has_been_checked IS NULL THEN 99 ELSE hs.current_state END',
|
||||||
'host_state_type' => 'hs.state_type',
|
'host_state_type' => 'hs.state_type',
|
||||||
|
@ -271,11 +266,6 @@ class ServicestatusQuery extends IdoQuery
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
END
|
|
||||||
+
|
|
||||||
CASE WHEN ss.state_type = 1
|
|
||||||
THEN 8
|
|
||||||
ELSE 0
|
|
||||||
END',
|
END',
|
||||||
'service_state' => 'CASE WHEN ss.has_been_checked = 0 OR ss.has_been_checked IS NULL THEN 99 ELSE ss.current_state END',
|
'service_state' => 'CASE WHEN ss.has_been_checked = 0 OR ss.has_been_checked IS NULL THEN 99 ELSE ss.current_state END',
|
||||||
'service_state_type' => 'ss.state_type',
|
'service_state_type' => 'ss.state_type',
|
||||||
|
|
Loading…
Reference in New Issue