diff --git a/core/tpl/riskanalysis/riskassessment/digiriskdolibarr_riskassessment_view.tpl.php b/core/tpl/riskanalysis/riskassessment/digiriskdolibarr_riskassessment_view.tpl.php index a7b985690..266a5bfa0 100644 --- a/core/tpl/riskanalysis/riskassessment/digiriskdolibarr_riskassessment_view.tpl.php +++ b/core/tpl/riskanalysis/riskassessment/digiriskdolibarr_riskassessment_view.tpl.php @@ -5,7 +5,7 @@ }); if (is_array($allRiskAssessment) && !empty($allRiskAssessment)) : usort($allRiskAssessment, function ($riskAssessmentComparer, $riskAssessmentCompared) { - return $riskAssessmentComparer->date_creation < $riskAssessmentCompared->date_creation; + return $riskAssessmentComparer->cotation < $riskAssessmentCompared->cotation; }); ?>
trans('ListingHeaderCotation'); ?> ()