From 2672b87a637921d4fefaeafd5ffa829292900ff5 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 8 Feb 2018 23:28:58 +0100 Subject: [PATCH] Improve : last exercice in first place --- include/class/exercice.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;