Skip to content

Commit

Permalink
fix N+1 query
Browse files Browse the repository at this point in the history
assignments are loaded dynamically with htmx menus

fixes #2353
  • Loading branch information
longhotsummer committed Feb 18, 2025
1 parent cb9a05a commit f8f6440
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 f8f6440

Please sign in to comment.