mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
Update src/registrar/admin.py
Co-authored-by: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
This commit is contained in:
parent
9b91c93387
commit
c496d0102e
1 changed files with 1 additions and 1 deletions
|
@ -3307,7 +3307,7 @@ class DomainAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
|||
)
|
||||
|
||||
# Filter out empty values and return sorted unique entries
|
||||
return sorted([(federal_type, DomainRequest.BranchChoices.get_branch_label(federal_type)) for federal_type in queryset if federal_type])
|
||||
return sorted([(federal_type, BranchChoices.get_branch_label(federal_type)) for federal_type in queryset if federal_type])
|
||||
|
||||
def queryset(self, request, queryset):
|
||||
if self.value():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue