Skip to content

Commit

Permalink
Update src/apps/activities/api/activities.py
Browse files Browse the repository at this point in the history
Co-authored-by: Farmer Paul <[email protected]>
  • Loading branch information
rcmerlo and farmerpaul authored Dec 5, 2024
1 parent 3f2c640 commit 0d1379c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/activities/api/activities.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ async def applet_activities_counters_for_subject(
respondents.update(assignments_data.respondents)
subjects.update(assignments_data.subjects)

# Include the subject for auto-assigned activities
if is_auto:
# Include the subject for auto-assigned activities, excluding limited accounts
if is_auto and not is_limited_respondent:
respondents.add(subject_id)
subjects.add(subject_id)

Expand Down

0 comments on commit 0d1379c

Please sign in to comment.