From: Stéphane Jacob Date: Sun, 4 Jan 2009 10:35:59 +0000 (+0100) Subject: Fixes group search query. X-Git-Tag: xorg/0.10.1~49^2~30 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=49298684d11d2b431717e0037408b621e96adc9b;p=platal.git Fixes group search query. --- diff --git a/modules/search.php b/modules/search.php index 2428b34..f742b1a 100644 --- a/modules/search.php +++ b/modules/search.php @@ -167,7 +167,7 @@ class SearchModule extends PLModule 'nationalite' => array('field' => 'a2', 'table' => 'geoloc_pays', 'text' => 'nat', 'exact' => 'false'), 'binet' => array('field' => 'id', 'table' => 'binets_def', 'text' => 'text', 'exact' => false), 'groupex' => array('field' => 'id', 'table' => 'groupex.asso', - 'text' => "(a.cat = 'GroupesX' OR a.cat = 'Institutions') AND pub = 'public' AND nom", + 'text' => "(cat = 'GroupesX' OR cat = 'Institutions') AND pub = 'public' AND nom", 'exact' => false), 'section' => array('field' => 'id', 'table' => 'sections', 'text' => 'text', 'exact' => false), 'school' => array('field' => 'id', 'table' => 'applis_def', 'text' => 'text', 'exact' => false),