Organisation list view update

Show org_num instead of the name (which can be empty)
This commit is contained in:
PCoder 2022-01-17 20:13:37 +05:30
parent aad89cdcbe
commit caef9906bd

View file

@ -200,7 +200,7 @@ class OrganizationAdmin(admin.ModelAdmin):
]
readonly_fields = ('org_num1',)
search_fields = ['organisation_search', 'org_alpha_search', 'organisation_2', 'organisation_3', 'subject']
list_display = ['organisation_english', 'organisation_2', 'country']
list_display = ['org_num1', 'organisation_english', 'organisation_2', 'country']
fieldsets = (
(None, {
'fields': (