diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-09 20:01:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-03-09 20:01:01 +0000 |
commit | b714c714024796d3cd3bd215b07b4d8798a35406 (patch) | |
tree | cf80ecad1125c44db2b8510ce93f819aeaf394da /app/views/issues | |
parent | 364d1aa72746424b87e1a17823612096db7c3ae3 (diff) | |
download | redmine-b714c714024796d3cd3bd215b07b4d8798a35406.tar.gz redmine-b714c714024796d3cd3bd215b07b4d8798a35406.zip |
Get the count by group from the query directly.
git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_list.html.erb | 2 | ||||
-rw-r--r-- | app/views/issues/index.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index ed97d046f..1e7d01ef7 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -14,7 +14,7 @@ </tr> </thead> <tbody> - <% grouped_issue_list(issues, query, issue_count_by_group) do |issue, level, group_name, group_count, group_totals| -%> + <% grouped_issue_list(issues, query) do |issue, level, group_name, group_count, group_totals| -%> <% if group_name %> <% reset_cycle %> <tr class="group open"> diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 7828075cf..80210814e 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -16,7 +16,7 @@ <p class="nodata"><%= l(:label_no_data) %></p> <% else %> <%= render_query_totals(@query) %> -<%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query, :issue_count_by_group => @issue_count_by_group} %> +<%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %> <span class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></span> <% end %> |