bug_tracker::set_default_keyword (public)
bug_tracker::set_default_keyword [ -package_id package_id ] \ -parent_id parent_id -keyword_id keyword_id
Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl
Set the default keyword for a given type (parent)
- Switches:
- -package_id (optional)
- -parent_id (required)
- -keyword_id (required)
- 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] } db_dml delete_existing { delete from bt_default_keywords where project_id = :package_id and parent_id = :parent_id } db_dml insert_new { insert into bt_default_keywords (project_id, parent_id, keyword_id) values (:package_id, :parent_id, :keyword_id) } get_default_keyword_flush -package_id $package_id -parent_id $parent_idGeneric 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