correctif(filtres): utilise la derniere version du type de champs de sorte a avoir les bons types
This commit is contained in:
parent
fd1f33b6e5
commit
80f2771c05
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ class ProcedurePresentation < ApplicationRecord
|
|||
TypeDeChamp
|
||||
.joins(:revision_types_de_champ)
|
||||
.where(revision_types_de_champ: { revision_id: procedure.revisions })
|
||||
.order(:created_at)
|
||||
.order(created_at: :desc)
|
||||
.find_by(stable_id: column)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue