@@ -327,7 +327,7 module ApplicationHelper | |||
|
327 | 327 | # Renders the project quick-jump box |
|
328 | 328 | def render_project_jump_box |
|
329 | 329 | return unless User.current.logged? |
|
330 | projects = User.current.memberships.collect(&:project).compact.select(&:active?).uniq | |
|
330 | projects = User.current.projects.active.select(:id, :name, :identifier, :lft, :rgt).to_a | |
|
331 | 331 | if projects.any? |
|
332 | 332 | options = |
|
333 | 333 | ("<option value=''>#{ l(:label_jump_to_a_project) }</option>" + |
General Comments 0
You need to be logged in to leave comments.
Login now