Skip to content

Commit

Permalink
Evarisk#3148 [RiskAssessment] fix: order by cotation instead of creat…
Browse files Browse the repository at this point in the history
…ion date
  • Loading branch information
evarisk-micka committed Jun 7, 2023
1 parent c5d4102 commit f863831
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}); ?>
<div class="table-cell-header">
<div class="table-cell-header-label"><strong><?php echo $langs->trans('ListingHeaderCotation'); ?> (<?php echo count($allRiskAssessment); ?>)</strong></div>
Expand Down

0 comments on commit f863831

Please sign in to comment.