Skip to content

Commit

Permalink
fix-sorted-by-label
Browse files Browse the repository at this point in the history
  • Loading branch information
lisa-durand committed Nov 6, 2024
1 parent 4be4f51 commit 52ffe3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/dossier_filter_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def self.sorted_ids(dossiers, sorted_column, instructeur, count)
.uniq
when 'dossier_labels'
dossiers.includes(table)
.order("#{self.class.sanitized_column(table, column)} #{order}")
.order("#{sanitized_column(table, column)} #{order}")
.pluck(:id)
.uniq
when 'self', 'user', 'individual', 'etablissement', 'groupe_instructeur'
Expand Down

0 comments on commit 52ffe3c

Please sign in to comment.