Merge pull request #8692 from mfo/hs/2162307059/2015014

correctif(filtres): les filtres par colonne se font par stable_id, non pas par id
This commit is contained in:
mfo 2023-02-24 10:41:28 +01:00 committed by GitHub
commit ec4c702ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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