Index: openacs-4/contrib/packages/simulation/lib/sim-templates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-templates.tcl,v diff -u -r1.17 -r1.18 --- openacs-4/contrib/packages/simulation/lib/sim-templates.tcl 15 Jan 2004 13:58:35 -0000 1.17 +++ openacs-4/contrib/packages/simulation/lib/sim-templates.tcl 23 Jan 2004 11:11:28 -0000 1.18 @@ -130,11 +130,7 @@ where workflow_id = w.workflow_id) as role_count, (select count(a2.action_id) from workflow_actions a2 - where a2.workflow_id = w.workflow_id - and not exists (select 1 - from workflow_initial_action ia2 - where ia2.workflow_id = w.workflow_id - and ia2.action_id = a2.action_id)) as task_count + where a2.workflow_id = w.workflow_id) as task_count from workflows w, sim_simulations ss, acs_objects a