Fix bug in displaying charter new group links
- Legacy-Id: 7563
This commit is contained in:
parent
135a4af197
commit
8dabf4cd79
|
@ -186,7 +186,7 @@ def chartering_groups(request):
|
|||
|
||||
for t in group_types:
|
||||
t.chartering_groups = Group.objects.filter(type=t, charter__states__in=charter_states).select_related("state", "charter")
|
||||
t.can_manage = can_manage_group_type(request.user, t)
|
||||
t.can_manage = can_manage_group_type(request.user, t.slug)
|
||||
|
||||
for g in t.chartering_groups:
|
||||
g.chartering_type = get_chartering_type(g.charter)
|
||||
|
|
Loading…
Reference in a new issue