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:
commit
ec4c702ac5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue