Skip to content

Commit

Permalink
Call sort_expression after with_membership_years
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi authored and amaierhofer committed Nov 20, 2024
1 parent 37236ff commit f7095c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/sac_cas/people_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def model_scope
end

def filter_entries
super.with_membership_years
entries = add_table_display_to_query(person_filter.entries, current_person).with_membership_years
sort_by_sort_expression(entries)
end

def prepare_entries(entries)
Expand Down

0 comments on commit f7095c2

Please sign in to comment.