doorcontrol: Remove description
from search_fields, as that is a function
This commit is contained in:
parent
58d3787f9d
commit
56d4601640
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user