diff --git a/class/riskanalysis/risk.class.php b/class/riskanalysis/risk.class.php index 8b7cd6d43..a8f6031fa 100644 --- a/class/riskanalysis/risk.class.php +++ b/class/riskanalysis/risk.class.php @@ -632,7 +632,7 @@ public function load_dashboard(): array $getRisksByDangerCategories = $this->getRisksByDangerCategories($dangerCategories, $riskByDangerCategoriesAndRiskAssessments); $getRiskListsByDangerCategories = $this->getRiskListsByDangerCategories($dangerCategories, $riskByDangerCategoriesAndRiskAssessments, $filter, 'risk'); - $array['graphs'] = [$getRisksByCotation, $getRisksByDangerCategoriesAndCriticality, $getRisksByDangerCategories]; + $array['graphs'] = [$getRisksByDangerCategoriesAndCriticality, $getRisksByDangerCategories, $getRisksByCotation]; $array['lists'] = [$getRiskListsByDangerCategories]; return $array;