diff --git a/admin/index.php b/admin/index.php index 34e920277fc160c2fda80d42da1739d36bc6424f..825f02a7c51736d7adeb40efe7aa0e4b93f2f624 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";