Commit 434b1794 authored by Frank Bergmann's avatar Frank Bergmann

- Now showing not only main projects, but also sub-projects

parent c95c4245
......@@ -445,8 +445,7 @@ ad_proc -public im_timesheet_task_list_component {
select p.*
from im_projects p,
acs_rels r
where
p.parent_id IS NULL and
where exists (select * from im_projects leaf_p where leaf_p.parent_id = p.project_id) and -- only main and sub-projects
r.object_id_one = p.project_id and
r.object_id_two = :user_id
$restriction_clause"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment