Skip to content

Commit

Permalink
Merge pull request #11024 from demarches-simplifiees/fix-sorted-by-label
Browse files Browse the repository at this point in the history
bug sur le tableau si on trie par ordre de labels
  • Loading branch information
LeSim authored Nov 6, 2024
2 parents 4be4f51 + 52ffe3c commit bbe6ab6
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 bbe6ab6

Please sign in to comment.