Skip to content

Commit dd305e0

Browse files
committed
Fixed a bug in the StateAdmin list_filter setting.
- Legacy-Id: 12972
1 parent 6c5d150 commit dd305e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class StateTypeAdmin(admin.ModelAdmin):
1616

1717
class StateAdmin(admin.ModelAdmin):
1818
list_display = ["slug", "type", 'name', 'order', 'desc']
19-
list_filter = ["type__name", ]
19+
list_filter = ["type", ]
2020
filter_horizontal = ["next_states"]
2121
admin.site.register(State, StateAdmin)
2222

0 commit comments

Comments
 (0)