[#3356] No need for special treatment

This commit is contained in:
Frederic Merizen 2019-02-05 15:30:26 +01:00 committed by simon lehericey
parent a8b9da9d3b
commit 4a3d402a32

View file

@ -179,10 +179,9 @@ module TagsSubstitutionConcern
return ''
end
text = replace_tags_with_values_from_data(text, filter_tags(champ_public_tags), dossier.champs)
text = replace_tags_with_values_from_data(text, filter_tags(champ_private_tags), dossier.champs_private)
tags_and_datas = [
[champ_public_tags, dossier.champs],
[champ_private_tags, dossier.champs_private],
[dossier_tags, dossier],
[INDIVIDUAL_TAGS, dossier.individual],
[ENTREPRISE_TAGS, dossier.etablissement&.entreprise]