summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_issuesreportedbyme.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/blocks/_issuesreportedbyme.html.erb')
-rw-r--r--app/views/my/blocks/_issuesreportedbyme.html.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/my/blocks/_issuesreportedbyme.html.erb b/app/views/my/blocks/_issuesreportedbyme.html.erb
index 7bd9bc28d..06bbda7f8 100644
--- a/app/views/my/blocks/_issuesreportedbyme.html.erb
+++ b/app/views/my/blocks/_issuesreportedbyme.html.erb
@@ -1,10 +1,6 @@
<h3><%=l(:label_reported_issues)%> (<%= Issue.visible.count(:conditions => { :author_id => User.current.id }) %>)</h3>
-<% reported_issues = Issue.visible.find(:all,
- :conditions => { :author_id => User.current.id },
- :limit => 10,
- :include => [ :status, :project, :tracker ],
- :order => "#{Issue.table_name}.updated_on DESC") %>
+<% reported_issues = issuesreportedbyme_items %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => reported_issues } %>
<% if reported_issues.length > 0 %>
<p class="small"><%= link_to l(:label_issue_view_all), :controller => 'issues',