Skip to content

Commit

Permalink
Merge pull request #676 from freelawproject/improve-subscription-admin
Browse files Browse the repository at this point in the history
feat(admin): add search field and list field to subscription admin
  • Loading branch information
mlissner authored Feb 19, 2025
2 parents 67d878e + e517ddf commit 4bbdef8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bc/subscription/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ class SubscriptionAdmin(admin.ModelAdmin):
ChannelInline,
]
exclude = ["channel"]
search_fields = (
"cl_docket_id",
"pacer_case_id",
"channel__group__name",
)
list_filter = ("channel__group",)


admin.site.register(Subscription, SubscriptionAdmin)
Expand Down

0 comments on commit 4bbdef8

Please sign in to comment.