2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-04-14 23:38:53 +00:00

Tweak admin for SelectionList model (#11712)

This commit is contained in:
Oliver
2026-04-10 14:33:22 +10:00
committed by GitHub
parent 16310617be
commit e6e775c1c0

View File

@@ -43,7 +43,7 @@ class SelectionListEntryInlineAdmin(admin.StackedInline):
class SelectionListAdmin(admin.ModelAdmin):
"""Admin interface for SelectionList objects."""
list_display = ('name', 'description')
list_display = ('name', 'description', 'active', 'locked')
search_fields = ('name', 'description')
list_filter = ('active', 'locked')