Patch #34595 » 0001-Only-show-currently-visible-projects-in-the-project-.patch
lib/redmine/project_jump_box.rb | ||
---|---|---|
30 | 30 | |
31 | 31 |
def recently_used_projects |
32 | 32 |
project_ids = recently_used_project_ids |
33 |
Project.where(id: project_ids). |
|
33 |
Project.where(id: project_ids).visible
|
|
34 | 34 |
index_by(&:id). |
35 | 35 |
values_at(*project_ids). # sort according to stored order |
36 | 36 |
compact |