bug_tracker::users_get_options (public)
bug_tracker::users_get_options [ -package_id package_id ]
Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { $package_id eq "" } { set package_id [ad_conn package_id] } set user_id [ad_conn user_id] # This picks out users who are already assigned to some bug in this set sql { select first_names || ' ' || last_name || ' (' || email || ')' as name, user_id from cc_users where user_id in ( select maintainer from bt_projects where project_id = :package_id union select maintainer from bt_versions where project_id = :package_id union select maintainer from bt_components where project_id = :package_id ) or user_id = :user_id order by name } set users_list [db_list_of_lists users $sql] set users_list [concat [list [list [_ bug-tracker.Unassigned] "" ]] $users_list] lappend users_list [list [_ bug-tracker.Search] ":search:"] return $users_listGeneric XQL file: packages/bug-tracker/tcl/bug-tracker-procs.xql
PostgreSQL XQL file: packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql
Oracle XQL file: packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql