From 2f814f366336080822e54f59b268b62784229be5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sat, 2 Jun 2012 12:23:35 +0200 Subject: [PATCH] Order xnetevents in decreasing order. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/xnetevents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.1.4