Merged r15772 (#23472).

git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15773 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-08-31 16:59:37 +00:00
parent 9f8053a82e
commit 374468e88a
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ module MyHelper
end
def issuesreportedbyme_items
Issue.visible.
Issue.visible.open.
where(:author_id => User.current.id).
limit(10).
includes(:status, :project, :tracker).

View File

@@ -1,7 +1,7 @@
<% reported_issues = issuesreportedbyme_items %>
<h3>
<%= link_to l(:label_reported_issues),
issues_path(:set_filter => 1, :status_id => '*', :author_id => 'me', :sort => 'updated_on:desc') %>
issues_path(:set_filter => 1, :status_id => 'o', :author_id => 'me', :sort => 'updated_on:desc') %>
(<%= reported_issues.limit(nil).count %>)
</h3>