Index: openacs-4/packages/contacts/www/search.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/search.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/contacts/www/search.xql 15 Jul 2005 21:01:52 -0000 1.2 +++ openacs-4/packages/contacts/www/search.xql 19 Oct 2005 22:55:38 -0000 1.3 @@ -86,5 +86,53 @@ + + + + select + object_type + from + contact_searches + where + search_id = :search_id + + + + + + select + var_list + from + contact_search_conditions + where + type = 'group' + and search_id = :search_id + + + + + + select + lam.attribute_id + from + ams_list_attribute_map lam, + ams_lists l + where + lam.list_id = l.list_id + $search_for_clause + $attribute_values_query + + + + + + select + a.pretty_name + from + ams_attributes a + where + a.attribute_id = :attribute + +