summaryrefslogtreecommitdiffstats
path: root/app/views/my
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-11 15:18:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-11 15:18:36 +0000
commit8f1c0eb2dd9a9e7914843f06d70a08f200b88b6b (patch)
treec0a79380d1e432c5f43dc13ed85ecd44f9b0b695 /app/views/my
parent8c01275ee9a060ce01a4f9356fdea23283a4e1fc (diff)
downloadredmine-8f1c0eb2dd9a9e7914843f06d70a08f200b88b6b.tar.gz
redmine-8f1c0eb2dd9a9e7914843f06d70a08f200b88b6b.zip
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
Diffstat (limited to 'app/views/my')
-rw-r--r--app/views/my/blocks/_issuesassignedtome.rhtml2
1 files changed, 1 insertions, 1 deletions
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 @@
<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") %>