summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patchwork/views/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/views/__init__.py b/patchwork/views/__init__.py
index b7916f0..cb05a8e 100644
--- a/patchwork/views/__init__.py
+++ b/patchwork/views/__init__.py
@@ -117,7 +117,7 @@ def generic_list(request, project, view,
# but we will need to follow the state and submitter relations for
# rendering the list template
- patches = patches.select_related('state', 'submitter')
+ patches = patches.select_related('state', 'submitter', 'delegate')
paginator = Paginator(request, patches)