Skip to content

Commit

Permalink
display visible status on dataset admin list page
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Jul 24, 2024
1 parent 586c53f commit fc4dc77
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions hub/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ class DataSetAdmin(admin.ModelAdmin):
"order",
"featured",
"is_public",
"visible",
)
list_editable = ("order", "featured", "is_public", "visible")
list_filter = (
"category",
"featured",
"areas_available",
"is_public",
"visible",
"data_type",
)
list_editable = ("order", "featured", "is_public")
list_filter = ("category", "featured", "areas_available", "is_public", "data_type")
ordering = ("category", "order", "label")
search_fields = ["name", "label", "description", "source", "source_label"]

Expand Down

0 comments on commit fc4dc77

Please sign in to comment.