doorcontrol: Remove description from search_fields, as that is a function

This commit is contained in:
Adam Goldsmith 2023-04-03 17:17:47 -04:00
parent 58d3787f9d
commit 56d4601640

View File

@ -22,7 +22,7 @@ class IsRedFilter(admin.SimpleListFilter):
@admin.register(HIDEvent)
class HIDEventAdmin(admin.ModelAdmin):
search_fields = ["description", "forename", "surname", "cardholder_id"]
search_fields = ["forename", "surname", "cardholder_id"]
list_display = ["door_name", "timestamp", "event_type", "description", "is_red"]
list_filter = [
"door_name",