Skip to content

Commit

Permalink
fix bug on search_fields of ReportAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
simodalla committed May 26, 2016
1 parent 2f8dee4 commit 6bc68c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhelpdesk/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ class ReportAdmin(admin.ModelAdmin):
list_per_page = DEFAULT_LIST_PER_PAGE
list_select_related = True
radio_fields = {'action_on_ticket': admin.VERTICAL}
search_fields = ['ticket__pk', 'ticket__content', 'content']
search_fields = ['ticket__id', 'ticket__content', 'content']
helpdesk_ticket = None

def _check_access(self, request):
Expand Down

0 comments on commit 6bc68c2

Please sign in to comment.