bring back find_type_de_champ_by_stable_id old implementation
This commit is contained in:
parent
24b37c230d
commit
edf0cbf320
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class ProcedureRevision < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def find_type_de_champ_by_stable_id(stable_id)
|
def find_type_de_champ_by_stable_id(stable_id)
|
||||||
types_de_champ.find_by(stable_id: stable_id)
|
types_de_champ.find_by(stable_id: stable_id) || types_de_champ_in_repetition.find_by(stable_id: stable_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def types_de_champ_in_repetition
|
def types_de_champ_in_repetition
|
||||||
|
|
Loading…
Reference in a new issue