Defect #20066

List of groups sorted in desc by default

Added by Benjamin Billon over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Groups
Target version:3.0.4
Resolution:Fixed Affected version:3.0.1

Description

Hi there,

I only noticed now, but in Administration > Groups, the groups are listed in alpha revert order, and I can't find any good reason why.

models/group.rb contains:

35 | scope :sorted, lambda { order(:type => :asc, :lastname => :desc) }

I changed "desc" to "asc" in my settings (Redmine 3.0.1), but I'm wondering if that should stay that way in next releases.

Associated revisions

Revision 14380
Added by Jean-Philippe Lang over 3 years ago

Fixed group sorted scope order (#20066).

History

#1 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.0.4
  • Resolution set to Fixed

Fixed in r14380, thanks for pointing this out.

#2 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF