Index: openacs-4/packages/cms/www/modules/workflow/case-status.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/workflow/case-status.xql,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/cms/www/modules/workflow/case-status.xql 12 Jun 2001 04:13:46 -0000 1.2 +++ openacs-4/packages/cms/www/modules/workflow/case-status.xql 19 Nov 2001 18:43:25 -0000 1.3 @@ -12,9 +12,11 @@ select case when count(*) = 0 then 'no' else 'yes' end - from wf_case_assignments + from wf_case_assignments ca, + wf_transitions trans where case_id = :case_id - and transition_key = :transition_key + and ca.role_key = trans.role_key + and trans.transition_key = :transition_key and party_id = :user_id