From: Stéphane Jacob Date: Sun, 6 Feb 2011 20:34:54 +0000 (+0100) Subject: Fixes ambiguous order clause. X-Git-Tag: xorg/1.1.0~1^2~42 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d6f2c926fa6a88ec2c04cb8c798b0e13d6b915ad;hp=2b7ead0fbdc357fef15c5d5e4794150faea1015d;p=platal.git Fixes ambiguous order clause. Signed-off-by: Stéphane Jacob --- diff --git a/modules/search.php b/modules/search.php index 64adb5f..8173c4a 100644 --- a/modules/search.php +++ b/modules/search.php @@ -417,8 +417,8 @@ class SearchModule extends PLModule INNER JOIN profile_mentor_term AS mt ON (mt.pid = mp.pid) INNER JOIN profile_job_term_relation AS jtr ON (jtr.jtid_2 = mt.jtid) WHERE jtr.jtid_1 = {?} - GROUP BY iso_3166_1_a2 - ORDER BY country", $jtid); + GROUP BY gc.iso_3166_1_a2 + ORDER BY gc.country", $jtid); $page->assign('list', $it); } }