From 0e75910d58ef00dc88e286c1e73ecce988ad4e9b Mon Sep 17 00:00:00 2001 From: Judith Date: Mon, 8 Jun 2020 14:33:58 +0200 Subject: [PATCH] ajout de human_to_filter --- app/models/procedure_presentation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/procedure_presentation.rb b/app/models/procedure_presentation.rb index 175ed703e..bdc1c58ac 100644 --- a/app/models/procedure_presentation.rb +++ b/app/models/procedure_presentation.rb @@ -189,7 +189,7 @@ class ProcedurePresentation < ApplicationRecord if table == 'type_de_champ' 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 updated_filters[statut] << {