Index: openacs-4/packages/tasks/lib/tasks-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/tasks/lib/tasks-postgresql.xql,v diff -u -N -r1.7 -r1.8 --- openacs-4/packages/tasks/lib/tasks-postgresql.xql 14 Oct 2005 13:50:07 -0000 1.7 +++ openacs-4/packages/tasks/lib/tasks-postgresql.xql 18 Oct 2005 15:32:25 -0000 1.8 @@ -108,7 +108,7 @@ and ao.object_id = t.task_id and ao.package_id = :package_id and t.start_date < now() - and t.party_id = :party_id + $employee_where_clause [template::list::page_where_clause -and -name tasks -key t.task_id] [template::list::filter_where_clauses -and -name tasks] [template::list::orderby_clause -orderby -name tasks] @@ -124,7 +124,7 @@ and ao.object_id = t.task_id and ao.package_id = :package_id and t.start_date < now() - and t.party_id = :party_id + $employee_where_clause [template::list::filter_where_clauses -and -name tasks] [template::list::orderby_clause -orderby -name tasks]