]> source.dussan.org Git - redmine.git/commitdiff
Closed issues no longer displayed on "my page" -> "issues assigned to me".
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Apr 2007 15:18:36 +0000 (15:18 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Apr 2007 15:18:36 +0000 (15:18 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@442 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/blocks/_issuesassignedtome.rhtml

index 35760a5a5a5f9c809e075d21ca0c03253d010c13..b75382218abae31e7f723ee0e6019910031213cf 100644 (file)
@@ -1,6 +1,6 @@
 <h3><%=l(:label_assigned_to_me_issues)%></h3>
 <% 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") %>