We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb89e3b commit eb5601aCopy full SHA for eb5601a
1 file changed
app/controllers/people_controller.rb
@@ -181,7 +181,6 @@ def set_form_variables
181
.sort_by { |affiliation|
182
expired = affiliation.inactive? || (affiliation.end_date.present? && affiliation.end_date < Date.current)
183
[ expired ? 1 : 0,
184
- affiliation.start_date || Date.new(9999),
185
affiliation.organization&.name.to_s.downcase ]
186
}
187
@person.affiliations.proxy_association.target.replace(sorted)
0 commit comments