Skip to content

Commit d29ca61

Browse files
author
James Fuqian
authored
discard less useful filter on user to gain speed on creds delivery page operations. (#1023)
1 parent 30d5a70 commit d29ca61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/creds/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ class MyCredentialingRequestAdmin(admin.ModelAdmin):
4040
"visits_count",
4141
)
4242

43-
list_filter = ("application__user__username",)
43+
list_filter = ("application__name",)
4444

45-
search_fields = ("application__name", "application__user__username", "=id")
45+
search_fields = ("application__name", "=id")
4646

4747
raw_id_fields = ("application",)
4848

0 commit comments

Comments
 (0)