Improve : last exercice in first place
This commit is contained in:
parent
e782275c89
commit
2672b87a63
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue