File tree 6 files changed +17
-1
lines changed
6 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function init()
31
31
'host.state ' ,
32
32
'service ' ,
33
33
'service.state ' ,
34
+ 'service.host ' ,
35
+ 'service.host.state '
34
36
]);
35
37
36
38
$ query ->disableDefaultSort ();
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function indexAction()
31
31
'host ' ,
32
32
'host.state ' ,
33
33
'service ' ,
34
+ 'service.host ' ,
35
+ 'service.host.state ' ,
34
36
'service.state '
35
37
]);
36
38
@@ -112,6 +114,8 @@ public function deleteAction()
112
114
'host ' ,
113
115
'host.state ' ,
114
116
'service ' ,
117
+ 'service.host ' ,
118
+ 'service.host.state ' ,
115
119
'service.state '
116
120
]);
117
121
@@ -142,6 +146,8 @@ public function detailsAction()
142
146
'host ' ,
143
147
'host.state ' ,
144
148
'service ' ,
149
+ 'service.host ' ,
150
+ 'service.host.state ' ,
145
151
'service.state '
146
152
]);
147
153
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function init()
31
31
'host.state ' ,
32
32
'service ' ,
33
33
'service.state ' ,
34
+ 'service.host ' ,
35
+ 'service.host.state ' ,
34
36
'parent ' ,
35
37
'parent.host ' ,
36
38
'parent.host.state ' ,
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function indexAction()
31
31
'host ' ,
32
32
'host.state ' ,
33
33
'service ' ,
34
+ 'service.host ' ,
35
+ 'service.host.state ' ,
34
36
'service.state '
35
37
]);
36
38
@@ -117,6 +119,8 @@ public function deleteAction()
117
119
'host ' ,
118
120
'host.state ' ,
119
121
'service ' ,
122
+ 'service.host ' ,
123
+ 'service.host.state ' ,
120
124
'service.state '
121
125
]);
122
126
@@ -147,6 +151,8 @@ public function detailsAction()
147
151
'host ' ,
148
152
'host.state ' ,
149
153
'service ' ,
154
+ 'service.host ' ,
155
+ 'service.host.state ' ,
150
156
'service.state '
151
157
]);
152
158
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public function init()
31
31
32
32
foreach ($ query ->getUnions () as $ unionPart ) {
33
33
$ unionPart ->filter (Filter::equal ('hostgroup.name ' , $ name ));
34
- $ unionPart ->disableDefaultSort ();
35
34
}
36
35
37
36
$ this ->applyRestrictions ($ query );
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ public function historyAction()
112
112
113
113
$ history = History::on ($ db )->with ([
114
114
'host ' ,
115
+ 'host.service ' ,
115
116
'host.state ' ,
116
117
'service ' ,
117
118
'service.state ' ,
You can’t perform that action at this time.
0 commit comments