Skip to content

Commit

Permalink
Merge pull request compserv#179 from compserv/officer_challenge_admin…
Browse files Browse the repository at this point in the history
…_fix

Fixed issue with searching for officer challenges
  • Loading branch information
alexander-zw committed Feb 5, 2020
2 parents 269e145 + 525f716 commit 1e5ede8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hknweb/candidate/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class OffChallengeAdmin(admin.ModelAdmin):
readonly_fields = ['request_date']
list_display = ('name', 'requester', 'officer', 'officer_confirmed', 'csec_confirmed', 'request_date')
list_filter = ['requester', 'officer', 'officer_confirmed', 'csec_confirmed', 'request_date']
search_fields = ['requester', 'officer', 'name']
search_fields = ['requester__username', 'requester__first_name', 'requester__last_name', 'officer__username', 'officer__first_name', 'officer__last_name', 'name']

actions = ["export_as_csv", "csec_confirm", "csec_reject"]

Expand Down

0 comments on commit 1e5ede8

Please sign in to comment.