We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db35328 commit 303dc76Copy full SHA for 303dc76
fum/api/views.py
@@ -601,7 +601,7 @@ def list_employees(request):
601
rs = []
602
for group in groups:
603
for user in group.users.all():
604
- if user.active_in_planmill:
+ if user.active_in_planmill == Users.PLANMILL_ACTIVE:
605
user_data = UsersSerializer(user).data
606
if not filter(lambda x: x['id']==user_data['id'], rs):
607
rs.append(user_data)
0 commit comments