diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 73a3c3b8..eed1f297 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -17,7 +17,8 @@ class ServiceController extends Controller $query = Service::on($this->getDb())->with([ 'state', - 'host' + 'host', + 'host.state' ]); $query->getSelectBase() ->where(['service.name = ?' => $name])