noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 155/323: Improve : last exercice in first pla


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 155/323: Improve : last exercice in first place
Date: Wed, 14 Mar 2018 17:38:42 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 2672b87a637921d4fefaeafd5ffa829292900ff5
Author: Dany De Bontridder <address@hidden>
Date:   Thu Feb 8 23:28:58 2018 +0100

    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 56290e4..5048766 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]