Skip to content

Commit eb5601a

Browse files
committed
Change people sorting to active/inactive, then alpha within each (ignore start date)
1 parent fb89e3b commit eb5601a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/controllers/people_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ def set_form_variables
181181
.sort_by { |affiliation|
182182
expired = affiliation.inactive? || (affiliation.end_date.present? && affiliation.end_date < Date.current)
183183
[ expired ? 1 : 0,
184-
affiliation.start_date || Date.new(9999),
185184
affiliation.organization&.name.to_s.downcase ]
186185
}
187186
@person.affiliations.proxy_association.target.replace(sorted)

0 commit comments

Comments
 (0)