Skip to content

Commit

Permalink
fix search collection by name (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido authored Sep 24, 2024
1 parent bfb87df commit db5dfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impresso/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class ContentItemAdmin(admin.ModelAdmin):

@admin.register(Collection)
class CollectionAdmin(admin.ModelAdmin):
search_fields = ["name", "creator", "id"]
search_fields = ["name", "creator__username", "id"]
list_display = (
"id",
"creator",
Expand Down

0 comments on commit db5dfd4

Please sign in to comment.