Skip to content

Commit 5554f3a

Browse files
committed
Fix missing .all
- Legacy-Id: 3841
1 parent 0f60531 commit 5554f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idtracker/templatetags/ietf_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def user_roles_json(user):
462462
elif r.name_id == "ad" and r.group.type_id == "area" and r.group.state_id == "active":
463463
roles["Area Director"] = roles["Area_Director"] = True
464464
else:
465-
for g in user.groups:
465+
for g in user.groups.all():
466466
roles[g.name] = True
467467
return mark_safe(simplejson.dumps(roles))
468468

0 commit comments

Comments
 (0)