Index: openacs-4/packages/bug-tracker/www/bug.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/bug.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/bug-tracker/www/bug.tcl 13 Sep 2002 10:55:54 -0000 1.11 +++ openacs-4/packages/bug-tracker/www/bug.tcl 15 Sep 2002 20:49:45 -0000 1.12 @@ -221,11 +221,18 @@ } element create bug assignee \ - -datatype user \ - -widget [ad_decode [info exists field_editable_p(assignee)] 1 user inform] \ - -label "Assigned to" \ - -options [bug_tracker::users_get_options -include_unassigned] \ - -optional + -widget [ad_decode [info exists field_editable_p(assignee)] 1 search inform] \ + -datatype search \ + -result_datatype integer \ + -label {Assigned to} \ + -options [bug_tracker::users_get_options] \ + -optional \ + -search_query { + select distinct u.first_names || ' ' || u.last_name 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 bug fix_for_version \ -datatype text \