mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Sort letter brandings alphabetically
Currently the brandings have non-deterministic sorting, which means the order changes from page load to page load. This makes it hard to find the item you’re looking for. This commit sorts them by the name of the branding, same as for email brandings.
This commit is contained in:
@@ -2492,6 +2492,7 @@ def mock_get_letter_email_branding(mocker):
|
||||
return {
|
||||
'001': 'HM Government',
|
||||
'500': 'Land Registry',
|
||||
'999': 'Animal and Plant Health Agency',
|
||||
}
|
||||
|
||||
return mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user