]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
admin: Add Series.dependencies field
authorStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 20:57:01 +0000 (20:57 +0000)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 22:31:21 +0000 (22:31 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/admin.py

index d3bf8d29d0f9eaa60f719ca6717f29e418ff76d1..d1c389a17b9981d8fd71b855dc75217466ae3fb7 100644 (file)
@@ -151,6 +151,7 @@ class SeriesAdmin(admin.ModelAdmin):
     readonly_fields = ('received_total', 'received_all')
     search_fields = ('submitter__name', 'submitter__email')
     exclude = ('patches',)
+    filter_horizontal = ('dependencies',)
     inlines = (PatchInline,)
 
     def received_all(self, series):