mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
Uncommited changes for tests
Test cases still a WIP - unsure as to why these two querysets are ordered differently. Otherwise the sorting logic is there
This commit is contained in:
parent
d7d4090054
commit
d99260f70a
3 changed files with 123 additions and 7 deletions
|
@ -14,8 +14,7 @@ logger = logging.getLogger(__name__)
|
|||
foreignkey_orderby_dict: [SortingDictInterface] = [
|
||||
#foreign_key - order_by
|
||||
SortingDictInterface(["submitter", "authorizing_official", "investigator", "creator", "user"], ['first_name', 'last_name']).sorting_dict,
|
||||
SortingDictInterface(["domain", "requested_domain"], ["name"]).sorting_dict,
|
||||
SortingDictInterface(["domain_application"], ['id']).sorting_dict
|
||||
SortingDictInterface(["domain", "requested_domain"], ["name"]).sorting_dict
|
||||
]
|
||||
|
||||
class AuditedAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue