Add a data filter for privacy_level of agents

This commit is contained in:
sabaimran 2024-12-08 19:55:57 -08:00
parent 3b9f4c4356
commit 2c934162d3

View file

@ -174,6 +174,7 @@ class AgentAdmin(unfold_admin.ModelAdmin):
"name", "name",
) )
search_fields = ("id", "name") search_fields = ("id", "name")
list_filter = ("privacy_level",)
ordering = ("-created_at",) ordering = ("-created_at",)