From 63837ebd5587a417b318c9c4385be109865479dd Mon Sep 17 00:00:00 2001
From: Simon Leblanc <contact@leblanc-simon.eu>
Date: Mon, 3 Oct 2011 02:16:12 +0200
Subject: [PATCH] fix de l'issue #14

---
 admin/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin/index.php b/admin/index.php
index 34e92027..825f02a7 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -107,7 +107,7 @@ while($dsondage = $sondage->FetchNextObject(false)) {
   $i++;
 }
 
-$sondage=$connect->Execute("select * from sondage");
+$sondage=$connect->Execute("select * from sondage ORDER BY date_fin ASC");
 $nbsondages=$sondage->RecordCount();
 
 echo $nbsondages.' '. _("polls in the database at this time") .'<br><br>'."\n";
-- 
GitLab