Order xnetevents in decreasing order.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jun 2012 10:23:35 +0000 (12:23 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jun 2012 10:23:35 +0000 (12:23 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/xnetevents.php

index a7c4f72..041c8c0 100644 (file)
@@ -124,7 +124,7 @@ class XnetEventsModule extends PLModule
                                   LEFT JOIN  group_event_participants AS ep ON (ep.eid = e.eid AND ep.uid = {?})
                                       WHERE  asso_id = {?} AND  archive = {?}
                                    GROUP BY  e.eid
-                                   ORDER BY  inscr_open DESC, debut',
+                                   ORDER BY  inscr_open DESC, debut DESC',
                                      S::i('uid'), $globals->asso('id'), $archive ? 1 : 0);
 
         $evts = array();