Project

General

Profile

Patch #34595 » 0001-Only-show-currently-visible-projects-in-the-project-.patch

Holger Just, 2021-01-14 20:30

View differences:

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
(1-1/4)