correction order DESC sur les comptages
This commit is contained in:
parent
b0207bf239
commit
bb82175e59
@ -163,7 +163,7 @@ Class Object_Dashboard
|
||||
if ($criteres != null){
|
||||
$comptage = new Table_Comptages();
|
||||
$sql = $comptage->select()
|
||||
->where('idDefinition = ?', $id);
|
||||
->where('idDefinition = ?', $id)->order('dateAjout DESC');
|
||||
$comptages = $comptage->fetchAll($sql)->toArray();
|
||||
}
|
||||
return (array_merge(array('comptages' => $comptages), array('criteres' => $criteres)));
|
||||
|
Loading…
Reference in New Issue
Block a user