summaryrefslogtreecommitdiffstats
path: root/lib/redmine/project_jump_box.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-02-04 06:49:15 +0000
committerGo MAEDA <maeda@farend.jp>2021-02-04 06:49:15 +0000
commit77c25ded048beb34fbcef93cc2029b8a607e7329 (patch)
treea389df978d46f832c445b806c43764cb4a511720 /lib/redmine/project_jump_box.rb
parent56236f51ff2e72582046f9a3d3614c56e34124a5 (diff)
downloadredmine-77c25ded048beb34fbcef93cc2029b8a607e7329.tar.gz
redmine-77c25ded048beb34fbcef93cc2029b8a607e7329.zip
Reverts r20735
git-svn-id: http://svn.redmine.org/redmine/trunk@20736 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/project_jump_box.rb')
-rw-r--r--lib/redmine/project_jump_box.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/redmine/project_jump_box.rb b/lib/redmine/project_jump_box.rb
index da5d93644..bf0123771 100644
--- a/lib/redmine/project_jump_box.rb
+++ b/lib/redmine/project_jump_box.rb
@@ -30,10 +30,10 @@ module Redmine
def recently_used_projects
project_ids = recently_used_project_ids
- Project.where(id: project_ids).visible
- index_by(&:id).
- values_at(*project_ids). # sort according to stored order
- compact
+ Project.where(id: project_ids).
+ index_by(&:id).
+ values_at(*project_ids). # sort according to stored order
+ compact
end
def bookmarked_projects