Changes the order of events, in chronological order.
authorThomas Minvielle <thomas.minvielle@polytechnique.org>
Sun, 15 Jan 2012 19:46:57 +0000 (20:46 +0100)
committerThomas Minvielle <thomas.minvielle@polytechnique.org>
Sun, 15 Jan 2012 19:46:57 +0000 (20:46 +0100)
modules/xnetevents.php

index a12c669..f3bef60 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 DESC',
+                                   ORDER BY  inscr_open DESC, debut',
                                      S::i('uid'), $globals->asso('id'), $archive ? 1 : 0);
 
         $evts = array();