aboutsummaryrefslogtreecommitdiff
path: root/patchwork/api/patch.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/api/patch.py')
-rw-r--r--patchwork/api/patch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/api/patch.py b/patchwork/api/patch.py
index a29a1ab..1a3ce90 100644
--- a/patchwork/api/patch.py
+++ b/patchwork/api/patch.py
@@ -176,7 +176,7 @@ class PatchList(ListAPIView):
return Patch.objects.all()\
.prefetch_related('check_set')\
.select_related('project', 'state', 'submitter', 'delegate',
- 'series')\
+ 'series__project')\
.defer('content', 'diff', 'headers')