View Issue Details

IDProjectCategoryView StatusLast Update
0005975mantisbtbugtrackerpublic2005-09-11 08:12
Reporterstriker69 Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a3 
Fixed in Version1.0.0rc1 
Summary0005975: My View page does not include Sub-Project item assigned to me
Description

I have Project A which has a sub project Sub B.

When I set the current project to Project A, I don't see the items assigned to me from Sub B. But I can see the items from Sub B in the recently modified and resolved lists.

TagsNo tags attached.

Activities

striker69

striker69

2005-07-19 09:01

reporter   ~0010868

I fixed this issue by modifying the function user_get_assigned_open_bug_count to include sub-project in the count.

Here is the modified part:
if ( ALL_PROJECTS == $p_project_id ) {
$t_where_prj = '';
} else {

Expand all sub-projects from this project.

        $t_projects = user_get_all_accessible_subprojects( $t_user_id, $c_project_id );
        $t_projects[] = $c_project_id;
        $t_projects = array_unique( $t_projects );
        if ( 1 == count( $t_projects ) ) {
            $t_project = $t_projects[0];
            $t_where_prj = "project_id=$t_project AND";
        } else {
            $t_where_prj = "project_id in (". implode( ', ', $t_projects ) . ") AND";
        }</b>
    }
Mark Ingram

Mark Ingram

2005-07-20 11:37

reporter   ~0010889

Reported in 0005914 too.

thraxisp

thraxisp

2005-08-07 19:09

reporter   ~0011113

Fixes as part of 0005888.