We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6005c30 commit 909fb55Copy full SHA for 909fb55
patchwork/api/patch.py
@@ -410,6 +410,7 @@ def get_queryset(self):
410
'project',
411
'series__project',
412
'related__patches__project',
413
+ 'patchreviewintention_set__user',
414
)
415
.select_related('state', 'submitter', 'series')
416
.defer('content', 'diff', 'headers')
patchwork/tests/api/test_patch.py
@@ -239,7 +239,7 @@ def test_list_bug_335(self):
239
series = create_series()
240
create_patches(5, series=series)
241
242
- with self.assertNumQueries(5):
+ with self.assertNumQueries(6):
243
self.client.get(self.api_url())
244
245
@utils.store_samples('patch-detail')
0 commit comments