Skip to content

Commit

Permalink
Merge pull request #2362 from laws-africa/work-tasks
Browse files Browse the repository at this point in the history
fix N+1 query
  • Loading branch information
longhotsummer authored Feb 19, 2025
2 parents e1c9dd6 + f8f6440 commit 736c2bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions indigo_app/views/works.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,6 @@ def get_context_data(self, **kwargs):

# warn when submitting task on behalf of another user
Task.decorate_submission_message(context['tasks'], self)

Task.decorate_potential_assignees(context['tasks'], self.country, self.request.user)
Task.decorate_permissions(context['tasks'], self.request.user)

return context
Expand Down

0 comments on commit 736c2bd

Please sign in to comment.