From: Jean-Philippe Lang Date: Wed, 11 Apr 2007 15:18:36 +0000 (+0000) Subject: Closed issues no longer displayed on "my page" -> "issues assigned to me". X-Git-Tag: 0.5.0~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8f1c0eb2dd9a9e7914843f06d70a08f200b88b6b;p=redmine.git Closed issues no longer displayed on "my page" -> "issues assigned to me". git-svn-id: http://redmine.rubyforge.org/svn/trunk@442 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/blocks/_issuesassignedtome.rhtml b/app/views/my/blocks/_issuesassignedtome.rhtml index 35760a5a5..b75382218 100644 --- a/app/views/my/blocks/_issuesassignedtome.rhtml +++ b/app/views/my/blocks/_issuesassignedtome.rhtml @@ -1,6 +1,6 @@

<%=l(:label_assigned_to_me_issues)%>

<% assigned_issues = Issue.find(:all, - :conditions => ["assigned_to_id=?", user.id], + :conditions => ["assigned_to_id=? AND #{IssueStatus.table_name}.is_closed=?", user.id, false], :limit => 10, :include => [ :status, :project, :tracker ], :order => "#{Issue.table_name}.updated_on DESC") %>