correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
This commit is contained in:
parent
c4746099fa
commit
fc1bb68a3a
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ class ProcedurePresentation < ApplicationRecord
|
|||
end
|
||||
end
|
||||
else
|
||||
TypeDeChamp.find(field['column']).options_for_select
|
||||
TypeDeChamp.find_by(stable_id: field['column']).options_for_select
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue