noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/03: Todo list : order by descending date,


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/03: Todo list : order by descending date, the earlier one must be in the top
Date: Sat, 24 Jan 2015 16:33:38 +0000

sparkyx pushed a commit to tag rel6800
in repository noalyss.

commit 7156e0b5eb7c193fc01dbbec70207afafece31e2
Author: Dany De Bontridder <address@hidden>
Date:   Sat Jan 10 13:04:22 2015 +0100

    Todo list : order by descending date, the earlier one must be in the top
---
 include/class_todo_list.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_todo_list.php b/include/class_todo_list.php
index 391c33d..119cc30 100644
--- a/include/class_todo_list.php
+++ b/include/class_todo_list.php
@@ -185,7 +185,7 @@ class Todo_List
     {
         $sql="select tl_id, tl_title,tl_desc,to_char( tl_date,'DD.MM.YYYY') as 
str_tl_date,tl_date
              from todo_list where use_login=$1".
-             " order by tl_date::date asc";
+             " order by tl_date::date desc";
         $res=$this->cn->exec_sql(
                  $sql,
                  array($this->use_login));



reply via email to

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