Correction de l'ordre d'affichage de l'historique des contentieux
This commit is contained in:
parent
e644d8d867
commit
077dccc36d
@ -986,7 +986,7 @@ class Entreprise extends Scores_Ws_Server
|
|||||||
|
|
||||||
// --- Selection de l'historique
|
// --- Selection de l'historique
|
||||||
$histo = array();
|
$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 {
|
try {
|
||||||
$histoResult = $db->fetchAll($histoSql, null, Zend_DB::FETCH_OBJ);
|
$histoResult = $db->fetchAll($histoSql, null, Zend_DB::FETCH_OBJ);
|
||||||
if (count($histoResult) > 0) {
|
if (count($histoResult) > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user