Skip to content

Commit ea1cb0d

Browse files
authored
fix: update invalid filters in Project admin (#781)
1 parent 64d8d0c commit ea1cb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ami/main/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def save_related(self, request, form, formsets, change):
7171

7272
list_display = ("name", "owner", "priority", "active", "created_at", "updated_at")
7373
list_filter = ("active", "owner")
74-
search_fields = ("name", "owner__username", "members__username")
74+
search_fields = ("name", "owner__email", "members__email")
7575
filter_horizontal = ("members",)
7676

7777
inlines = [ProjectPipelineConfigInline]

0 commit comments

Comments
 (0)