feat: sort by country on organisation list

This commit is contained in:
James Graham
2021-03-09 12:24:46 +00:00
parent 7e9a6e992a
commit 7d74a99518
5 changed files with 95 additions and 5 deletions

View File

@@ -101,9 +101,14 @@ class OrganisationAnswerSetForm(forms.ModelForm, DynamicAnswerSetBase):
'website',
'countries',
'hq_country',
'is_partner_organisation',
'latitude',
'longitude',
]
labels = {
'is_partner_organisation':
f'Is this organisation a {settings.PARENT_PROJECT_NAME} partner organisation?'
}
widgets = {
'countries': Select2MultipleWidget(),
'hq_country': Select2Widget(),