Index: openacs-4/packages/bug-tracker/www/admin/component-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/admin/component-ae.tcl,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/bug-tracker/www/admin/component-ae.tcl 10 Sep 2002 22:22:28 -0000 1.5 +++ openacs-4/packages/bug-tracker/www/admin/component-ae.tcl 6 Dec 2002 15:01:45 -0000 1.5.2.1 @@ -47,11 +47,21 @@ -optional element create component maintainer \ - -datatype integer \ - -widget select \ + -widget search \ + -datatype search \ + -result_datatype integer \ -label "Maintainer" \ - -options [concat {{ "--None--" "" }} [db_list_of_lists users { select first_names || ' ' || last_name, user_id from cc_users }]] -optional + -options [bug_tracker::users_get_options] \ + -optional \ + -search_query { + select distinct u.first_names || ' ' || u.last_name || ' (' || u.email || ')' as name, u.user_id + from cc_users u + where upper(coalesce(u.first_names || ' ', '') || coalesce(u.last_name || ' ', '') || u.email || ' ' || coalesce(u.screen_name, '')) like upper('%'||:value||'%') + order by name +} + + element create component component_id \ -datatype integer \ -widget hidden