Display wp watched by current user and are not closed

pull/1921/head
slawa 10 years ago
parent db04ee7282
commit 3e5b62372c
  1. 4
      app/views/my/blocks/_issueswatched.html.erb

@ -27,9 +27,9 @@ See doc/COPYRIGHT.rdoc for more details.
++#%>
<% watched = WorkPackage.visible.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %>
<% watched = WorkPackage.visible.open.on_active_project.watched_by(user.id).recently_updated.with_limit(10) %>
<% watched_count = WorkPackage.visible.watched_by(user.id).count %>
<% watched_count = WorkPackage.visible.open.watched_by(user.id).count %>
<h3><%=l(:label_watched_work_packages)%> (<%= watched_count %>)</h3>

Loading…
Cancel
Save