Index: openacs-4/packages/bug-tracker/tcl/bug-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/tcl/bug-procs-oracle.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/bug-tracker/tcl/bug-procs-oracle.xql 3 Oct 2003 16:54:36 -0000 1.3 +++ openacs-4/packages/bug-tracker/tcl/bug-procs-oracle.xql 28 Jan 2004 09:45:40 -0000 1.4 @@ -188,6 +188,7 @@ and cas.workflow_id = :workflow_id and cas.object_id = b.bug_id and cfsm.case_id = cas.case_id + and cfsm.parent_enabled_action_id is null and st.state_id = cfsm.current_state $orderby_category_where_clause [template::list::filter_where_clauses -and -name "bugs"] Index: openacs-4/packages/bug-tracker/tcl/bug-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/tcl/bug-procs-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/bug-tracker/tcl/bug-procs-postgresql.xql 3 Oct 2003 16:54:37 -0000 1.4 +++ openacs-4/packages/bug-tracker/tcl/bug-procs-postgresql.xql 28 Jan 2004 09:45:40 -0000 1.5 @@ -175,6 +175,7 @@ and cas.workflow_id = :workflow_id and cas.object_id = b.bug_id and cfsm.case_id = cas.case_id + and cfsm.parent_enabled_action_id is null and st.state_id = cfsm.current_state $orderby_category_where_clause [template::list::filter_where_clauses -and -name "bugs"]