[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/05: Task #1045 - Amélioration apparence
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/05: Task #1045 - Amélioration apparence : Forecast : order by name |
Date: |
Tue, 25 Nov 2014 22:36:38 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit b65cc884eea823534c593630f9039dffc26c1998
Author: Dany De Bontridder <address@hidden>
Date: Tue Nov 25 23:15:15 2014 +0100
Task #1045 - Amélioration apparence :
Forecast : order by name
---
include/class_forecast.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/class_forecast.php b/include/class_forecast.php
index 8bc0cb6..3383d84 100644
--- a/include/class_forecast.php
+++ b/include/class_forecast.php
@@ -114,7 +114,7 @@ class Forecast
*/
public static function load_all($p_cn)
{
- $sql="select f_id, f_name,f_start_date,f_end_date from forecast";
+ $sql="select f_id, f_name,f_start_date,f_end_date from forecast order
by 2 desc";
$ret=$p_cn->get_array($sql);
return $ret;
}