]> git.ozlabs.org Git - patchwork/blobdiff - patchwork/views/__init__.py
parsemail: Don't catch all exceptions when a Project isn't found
[patchwork] / patchwork / views / __init__.py
index dfca56dd690c990fbd004f38810877a842197253..b7916f0b7d7b7d3c26e58d47ae1819b8b3291adc 100644 (file)
@@ -104,6 +104,9 @@ def generic_list(request, project, view,
     if patches is None:
         patches = Patch.objects.filter(project=project)
 
+    # annotate with tag counts
+    patches = patches.with_tag_counts(project)
+
     patches = context.filters.apply(patches)
     if not editable_order:
         patches = order.apply(patches)