Merge pull request #8694 from tchak/fix-filter-options

fix(filter): fix find type de champ by stable_id
This commit is contained in:
Paul Chavard 2023-02-27 12:48:25 +00:00 committed by GitHub
commit 2a6065ea31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -336,7 +336,7 @@ class ProcedurePresentation < ApplicationRecord
end
end
else
TypeDeChamp.find_by(stable_id: field['column']).options_for_select
find_type_de_champ(field['column']).options_for_select
end
end