[TELE-1607]add filter comprehensive_list
gitea/imio-teleservices-templatetags/pipeline/head This commit looks good Details

This commit is contained in:
Nicolas Selva 2023-03-31 11:12:54 +02:00
parent 094008f9f4
commit 7e35838003
1 changed files with 5 additions and 0 deletions

View File

@ -272,6 +272,11 @@ def distinct_list(value):
return list(set(value))
@register.filter
def comprehensive_list(liste: list, key: str):
return [x[key] for x in liste]
#####################
# LOCATION DE SALLE #
#####################