Skip to content
Snippets Groups Projects
Commit 56bd13c9 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix(notification): corrige récupération groupe à notifier

parent f87f0ff0
No related branches found
No related tags found
1 merge request!531REDMINE_ISSUE-26377 | Ajout d'un système de notification par groupe d'utilisateurs
......@@ -258,8 +258,8 @@ class Event(models.Model):
UserGroupMembership = apps.get_model(app_label='geocontrib', model_name='UserGroupMembership')
groups = [
feature.feature_data[field.label]
for field in notif_custom_fields if field.label in feature.feature_data
feature.feature_data[field.name]
for field in notif_custom_fields if field.name in feature.feature_data
]
global_group = UsersGroup.objects.filter(is_global=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment