diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-06 22:01:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-06 22:01:09 +0000 |
commit | 2be3acd66981d7d135490634a82025cacf0d3414 (patch) | |
tree | 1e59128f7304d394ad5c6851218d6b9d9da4f1d3 /app/views/users | |
parent | 24c2416ffe676e920b4d2dd5e156f50e9cd14073 (diff) | |
download | redmine-2be3acd66981d7d135490634a82025cacf0d3414.tar.gz redmine-2be3acd66981d7d135490634a82025cacf0d3414.zip |
Link to issues assigned to user or his groups (#25212).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16626 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index b44ed6a3f..6d231b86d 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -26,7 +26,7 @@ <h3><%=l(:label_issue_plural)%></h3> <ul> <li><%= link_to l(:label_assigned_issues), - issues_path(:set_filter => 1, :assigned_to_id => @user.id, :sort => 'priority:desc,updated_on:desc') %>: + issues_path(:set_filter => 1, :assigned_to_id => ([@user.id] + @user.group_ids).join("|"), :sort => 'priority:desc,updated_on:desc') %>: <%= Issue.visible.open.assigned_to(@user).count %> <li><%= link_to l(:label_reported_issues), issues_path(:set_filter => 1, :status_id => '*', :author_id => @user.id) %>: |