ajout de human_to_filter

This commit is contained in:
Judith 2020-06-08 14:33:58 +02:00
parent ad53dfa84d
commit 0e75910d58

View file

@ -189,7 +189,7 @@ class ProcedurePresentation < ApplicationRecord
if table == 'type_de_champ' if table == 'type_de_champ'
type_de_champ = TypeDeChamp.find_by(id: column) type_de_champ = TypeDeChamp.find_by(id: column)
value = type_de_champ.dynamic_type.human_to_filter(value.downcase) value = type_de_champ.dynamic_type.human_to_filter(value)
end end
updated_filters[statut] << { updated_filters[statut] << {