API for returning incidents on a component, including incident_count
This commit is contained in:
@@ -14,4 +14,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
public function getComponentIncidents($id) {
|
||||
$component = $this->getComponent($id);
|
||||
return $component->incidents;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user