Fixes GroupMemberCondition test
This commit is contained in:
parent
2c8ed9a51a
commit
52fa696a01
1 changed files with 1 additions and 3 deletions
|
@ -334,6 +334,4 @@ class GroupMemberConditionController(IsMetByFilter, ConditionController):
|
|||
''' Returns all of the items from conditions which are enabled by a
|
||||
user being member of a Django Auth Group. '''
|
||||
|
||||
return conditions.filter(
|
||||
group=user.groups.all(),
|
||||
)
|
||||
return conditions.filter(group__in=user.groups.all())
|
||||
|
|
Loading…
Reference in a new issue