Skip to content

Commit

Permalink
add is_active to indenteduse admin
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinie-nc committed Nov 12, 2024
1 parent 7364a99 commit 9b4f6ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion leasing/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,9 +773,13 @@ class IntendedUseAdmin(admin.ModelAdmin):
list_display = (
"name",
"service_unit",
"is_active",
)
search_fields = ["name_fi"]
list_filter = ("service_unit",)
list_filter = (
"is_active",
"service_unit",
)
ordering = (
"name_fi",
"service_unit",
Expand Down

0 comments on commit 9b4f6ae

Please sign in to comment.