tech: use facet_id to sort fields

This commit is contained in:
mfo 2024-07-22 11:32:07 +02:00
parent 743ff8c8a9
commit b6464c1963
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
10 changed files with 38 additions and 18 deletions

View file

@ -141,7 +141,7 @@ module Instructeurs
end
def update_sort
procedure_presentation.update_sort(params[:table], params[:column], params[:order])
procedure_presentation.update_sort(params[:facet_id], params[:order])
redirect_back(fallback_location: instructeur_procedure_url(procedure))
end