Skip to content

Commit d902aa0

Browse files
committed
Added search fields to the admin index for SchedulingEvent.
- Legacy-Id: 17302
1 parent 91d5d72 commit d902aa0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/meeting/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright The IETF Trust 2012-2019, All Rights Reserved
1+
# Copyright The IETF Trust 2012-2020, All Rights Reserved
22
# -*- coding: utf-8 -*-
33

44

@@ -121,6 +121,7 @@ def name_lower(self, instance):
121121
class SchedulingEventAdmin(admin.ModelAdmin):
122122
list_display = ["session", "status", "time", "by"]
123123
raw_id_fields = ["session", "by"]
124+
search_fields = ['session__name', 'session__meeting__number', 'session__group__acronym']
124125
ordering = ["-id"]
125126

126127
admin.site.register(SchedulingEvent, SchedulingEventAdmin)

0 commit comments

Comments
 (0)