From 49298684d11d2b431717e0037408b621e96adc9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 4 Jan 2009 11:35:59 +0100 Subject: [PATCH] Fixes group search query. --- modules/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.1.4