Does not count number of assigned groups

pull/66/head
Hagen Schink 11 years ago committed by Jens Ulferts
parent c5f330a191
commit 7548e827d8
  1. 2
      app/views/my/blocks/_issuesassignedtome.html.erb

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
:order => "#{IssuePriority.table_name}.position DESC, #{WorkPackage.table_name}.updated_at DESC") %>
<% assigned_count = WorkPackage.visible.open.count(:conditions => {
:assigned_to_id => [User.current.id] + User.current.group_ids
:assigned_to_id => User.current.id
}) %>
<h3><%=l(:label_assigned_to_me_work_packages)%> (<%= assigned_count %>)</h3>

Loading…
Cancel
Save