Defect #31710

Assigned on search issues not ordered by name

Added by Hynek Petrla about 2 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:3.4.7

Description

assigned_to_values isn't ordered by user name.

Fix:
Posiible fix, change line in query.rb to:
assigned_to_values += (Setting.issue_group_assignment? ? principals : users).sort_by{|h| [ h.status, h.name ]}.collect{|s| [s.name, s.id.to_s, l("status_#{User::LABEL_BY_STATUS[s.status]}")] }

Screenshot_35.png (2.64 KB) Hynek Petrla, 2019-07-11 20:43

Also available in: Atom PDF