Skip to content

Commit

Permalink
feat: add national_id in third pos in list_display
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Nov 1, 2024
1 parent 3cf0e55 commit 1e82de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eox_nelp/admin/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class NelpUserAdmin(SupportUserAdmin):
"""EoxNelp User admin class."""
list_display = ('user_national_id',) + SupportUserAdmin.list_display
list_display = SupportUserAdmin.list_display[:2] + ('user_national_id',) + SupportUserAdmin.list_display[2:]
search_fields = SupportUserAdmin.search_fields + ('extrainfo__national_id',)
fieldsets = SupportUserAdmin.fieldsets + (
('Extra info Fields', {'fields': ('user_national_id',)}),
Expand Down

0 comments on commit 1e82de4

Please sign in to comment.