diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-07 21:12:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-07 21:12:16 +0000 |
commit | 518779d96d817a0eab6c563444208ec659e27cec (patch) | |
tree | b1c0c618c6466a1e73e960b0736604efa320d41b /app/views/reports | |
parent | eecc6864a96f8c4f15cce281d8cf5d46bda1edc8 (diff) | |
download | redmine-518779d96d817a0eab6c563444208ec659e27cec.tar.gz redmine-518779d96d817a0eab6c563444208ec659e27cec.zip |
Fixed: issue summary counts should link to the issue list without subprojects (#4525).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3283 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports')
-rw-r--r-- | app/views/reports/_details.rhtml | 5 | ||||
-rw-r--r-- | app/views/reports/_simple.rhtml | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/reports/_details.rhtml b/app/views/reports/_details.rhtml index c3ad2bed7..c9cd88bb8 100644 --- a/app/views/reports/_details.rhtml +++ b/app/views/reports/_details.rhtml @@ -17,27 +17,32 @@ <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to row.name, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id %></td> <% for status in @statuses %> <td align="center"><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "status_id" => status.id, "#{field_name}" => row.id %></td> <% end %> <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "o" %></td> <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "c" %></td> <td align="center"><%= aggregate_link data, { field_name => row.id }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "*" %></td> </tr> diff --git a/app/views/reports/_simple.rhtml b/app/views/reports/_simple.rhtml index 7f799f325..e82f376a1 100644 --- a/app/views/reports/_simple.rhtml +++ b/app/views/reports/_simple.rhtml @@ -13,20 +13,24 @@ <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to row.name, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id %></td> <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "o" %></td> <td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "c" %></td> <td align="center"><%= aggregate_link data, { field_name => row.id }, :controller => 'issues', :action => 'index', :project_id => ((row.is_a?(Project) ? row : @project)), :set_filter => 1, + :subproject_id => '!*', "#{field_name}" => row.id, "status_id" => "*" %></td> </tr> |