From: Raphaël Barrois Date: Sat, 2 Jun 2012 10:23:35 +0000 (+0200) Subject: Order xnetevents in decreasing order. X-Git-Tag: xorg/1.1.6~1^2~10 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2f814f366336080822e54f59b268b62784229be5;p=platal.git Order xnetevents in decreasing order. Signed-off-by: Raphaël Barrois --- diff --git a/modules/xnetevents.php b/modules/xnetevents.php index a7c4f72..041c8c0 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', + ORDER BY inscr_open DESC, debut DESC', S::i('uid'), $globals->asso('id'), $archive ? 1 : 0); $evts = array();