1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

Reverts r20735

git-svn-id: http://svn.redmine.org/redmine/trunk@20736 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-02-04 06:49:15 +00:00
parent 56236f51ff
commit 77c25ded04

View File

@ -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