diff --git a/include/class/exercice.class.php b/include/class/exercice.class.php index 56290e4a7..504876684 100644 --- a/include/class/exercice.class.php +++ b/include/class/exercice.class.php @@ -50,7 +50,7 @@ class Exercice function select($name,$selected='',$js='') { $iselect=new ISelect($name); - $iselect->value=$this->cn->make_array('select distinct p_exercice,p_exercice from parm_periode order by 1'); + $iselect->value=$this->cn->make_array('select distinct p_exercice,p_exercice from parm_periode order by 1 desc'); $iselect->selected=$selected; $iselect->javascript=$js; return $iselect;