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:
parent
56236f51ff
commit
77c25ded04
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user