Skip to content

Commit

Permalink
Added sorting and search param to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
remyvdwereld committed Sep 9, 2024
1 parent 117ec2b commit 3008f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/apps/events/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
"type",
),
search_fields=("emitter_id",),
ordering=("-id",),
)
1 change: 1 addition & 0 deletions app/apps/workflow/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ class CaseTaskAdmin(admin.ModelAdmin):
"owner",
)
search_fields = (
"id",
"case__id",
"name",
"task_name",
Expand Down

0 comments on commit 3008f72

Please sign in to comment.