Bug #2138
Issues count is not shown
100%
Description
Hello,
I have found that issue counter is not shown when issues grouped by some condition
See screenshot example.
After looking to view app/views/issues/_list.html.erb
source code, I have changed one string and got issue count back:
from
<%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group_name] %>)</span>
to
<%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>)</span>
As it done in vanilla issues list view
Could you please explain reason of changing 'group’ to 'group name’? Probably I’m break something : )
Thanks
Tested on
Redmine 1.4.6 / Ruby 1.9.3-p327
Redmine 2.2.1 / Ruby 1.9.3-p362
Related issues
Associated revisions
Fixed #2138
History
#1 Updated by Andriy Lesyuk almost 12 years ago
- Status changed from New to Open
#3 Updated by Andriy Lesyuk almost 12 years ago
Could you please explain reason of changing 'group’ to 'group name’? Probably I’m break something : )
See #2015. Will need to figure out why group.to_s
does not work...
#4 Updated by Andriy Lesyuk almost 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r79.
#5 Updated by Andriy Lesyuk almost 12 years ago
- Due date set to 26 Jan 2013