@@ -41,7 +41,7 module MyHelper | |||||
41 | end |
|
41 | end | |
42 |
|
42 | |||
43 | def issuesreportedbyme_items |
|
43 | def issuesreportedbyme_items | |
44 | Issue.visible. |
|
44 | Issue.visible.open. | |
45 | where(:author_id => User.current.id). |
|
45 | where(:author_id => User.current.id). | |
46 | limit(10). |
|
46 | limit(10). | |
47 | includes(:status, :project, :tracker). |
|
47 | includes(:status, :project, :tracker). |
@@ -1,7 +1,7 | |||||
1 | <% reported_issues = issuesreportedbyme_items %> |
|
1 | <% reported_issues = issuesreportedbyme_items %> | |
2 | <h3> |
|
2 | <h3> | |
3 | <%= link_to l(:label_reported_issues), |
|
3 | <%= link_to l(:label_reported_issues), | |
4 |
issues_path(:set_filter => 1, :status_id => ' |
|
4 | issues_path(:set_filter => 1, :status_id => 'o', :author_id => 'me', :sort => 'updated_on:desc') %> | |
5 | (<%= reported_issues.limit(nil).count %>) |
|
5 | (<%= reported_issues.limit(nil).count %>) | |
6 | </h3> |
|
6 | </h3> | |
7 |
|
7 |
General Comments 0
You need to be logged in to leave comments.
Login now