mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-20 03:19:24 +02:00
Add sorting to federal agency table
This commit is contained in:
parent
712bb26d03
commit
664b3eb895
1 changed files with 1 additions and 0 deletions
|
@ -1826,6 +1826,7 @@ class VerifiedByStaffAdmin(ListHeaderAdmin):
|
||||||
super().save_model(request, obj, form, change)
|
super().save_model(request, obj, form, change)
|
||||||
|
|
||||||
class FederalAgencyAdmin(ListHeaderAdmin):
|
class FederalAgencyAdmin(ListHeaderAdmin):
|
||||||
|
list_display = ["agency"]
|
||||||
search_fields = ["agency"]
|
search_fields = ["agency"]
|
||||||
search_help_text = "Search by agency name."
|
search_help_text = "Search by agency name."
|
||||||
ordering = ["agency"]
|
ordering = ["agency"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue