From: Thomas Minvielle Date: Sun, 15 Jan 2012 19:46:57 +0000 (+0100) Subject: Changes the order of events, in chronological order. X-Git-Tag: xorg/1.1.5~46 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1dfa583fadd1cc82dbb005b81f8fb83f24849d81;p=platal.git Changes the order of events, in chronological order. --- diff --git a/modules/xnetevents.php b/modules/xnetevents.php index a12c669..f3bef60 100644 --- a/modules/xnetevents.php +++ b/modules/xnetevents.php @@ -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();