A shortcut to view all issues of all projects
From the topmost menu "Projects" -> "View all issues", we can retrieve all issue of all project. But after we go to a project by selecting from the "Jump to a project" pull down list, there is no way for the user to view all issue from all project.
Again, user need to click the topmost "Project" link first then select "View all issues".
Please kindly help to provide a shortcut, e.g. An "All Projects" options in the "Jump to a project" pull down list, or provide options in custom query to include all projects or a dedicate project.
#5 Updated by Jean-Baptiste Barth over 4 years ago
That's why I personnally did on my instance at work, but I think it can be confusing for people with one or few projects. I already saw people who are not familiar with redmine, they're completely lost about those scoping issues. Jean-Philippe proposed an other approach in #5920 (second screenshot). Maybe a mitigation should be to display this link only if the user as more than 2 projects ?
#7 Updated by Ivan Yiu over 4 years ago
I apply the patch file on Redmine 2.3.0 but failed.
$>patch -p0 < add_shortcut_to_issues.diff can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | app/views/issues/_sidebar.html.erb | 9 ++++++--- | config/locales/de.yml | 1 + | config/locales/en-GB.yml | 1 + | config/locales/en.yml | 1 + | 4 files changed, 9 insertions(+), 3 deletions(-) | |diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb |index dbf1918..a52ea3f 100644 |--- a/app/views/issues/_sidebar.html.erb |+++ b/app/views/issues/_sidebar.html.erb --------------------------
#9 Updated by Ivan Yiu over 4 years ago
Jean-Baptiste Barth wrote:
I don't advice you apply patches blindly, try to discuss the feature and then we'll see. Btw, the patch should be applied with
-p0. And maybe there are extra lines at the top (the first 6 ones) that should be removed, not sure.
Thanks Jean, I just follow the wiki page [[http://www.redmine.org/projects/redmine/wiki/Patch]] to apply the patch.
I've update the wiki page already, hope this can help other user too.
#10 Updated by Ivan Yiu over 4 years ago
Still fail .... I really don't know what's happening.
patch -p1 < add_shortcut_to_issues.diff patching file app/views/issues/_sidebar.html.erb Hunk #1 FAILED at 3. 1 out of 1 hunk FAILED -- saving rejects to file app/views/issues/_sidebar.html.erb.rej patching file config/locales/de.yml Hunk #1 succeeded at 644 (offset -1 lines). patching file config/locales/en-GB.yml patching file config/locales/en.yml Hunk #1 succeeded at 549 (offset -1 lines). root@scmpms:/opt/redmine-2.3.0-0/apps/redmine/htdocs>view app/views/issues/_sidebar.html.erb.rej
#11 Updated by Daniel Felix over 4 years ago
try it manualy.
Just add these lines
<% if User.current.allowed_to?(:view_issues, nil, :global => true) %>
<li><%= link_to(l(:label_overall_issues), issues_path) %></li>
<% end %>
beneath this line
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
And add these line to your en.yml:
label_overall_issues: Overall issues
Just regardless in which line. But be sure there will be two spaces in front of it.
You'll find them in source:/trunk/config/locales/en.yml