Project

General

Profile

Actions

Feature #354

closed

List projects menu in alphabetical order

Added by Damien McKenna over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Any chance of listing the menu bar's projects menu in alphabetical order?

Actions #1

Updated by Damien McKenna over 17 years ago

Would this do it?

- <% @logged_in_user.memberships.find(:all, :limit =>
20).each do |
membership| >
+ <
@logged_in_user.memberships.find(:all, :limit =>
20, :order =>
'name').each do |membership| %>

Basically add
:order => 'name'
to the find arguments?

Actions #2

Updated by Jean-Philippe Lang over 17 years ago

Committed in rev 538.
Modification was done at model level instead.

Actions

Also available in: Atom PDF