Correction de l'ordre d'affichage de l'historique des contentieux

This commit is contained in:
Yoann LE NAOUR 2016-05-17 12:36:54 +02:00
parent e644d8d867
commit 077dccc36d

View File

@ -986,7 +986,7 @@ class Entreprise extends Scores_Ws_Server
// --- Selection de l'historique
$histo = array();
$histoSql = "SELECT * FROM jo.greffes_affaires_histo WHERE idAffaire='".$affaireResult->idAffaire."' ORDER BY dateInsert DESC";
$histoSql = "SELECT * FROM jo.greffes_affaires_histo WHERE idAffaire='".$affaireResult->idAffaire."' ORDER BY dateDecision DESC";
try {
$histoResult = $db->fetchAll($histoSql, null, Zend_DB::FETCH_OBJ);
if (count($histoResult) > 0) {