Skip to content

Commit

Permalink
-[Fixes #9314] Error on Searching uploads in Admin Site (#9376)
Browse files Browse the repository at this point in the history
  • Loading branch information
marthamareal authored May 18, 2022
1 parent 9505d24 commit f21fd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/upload/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class UploadAdmin(admin.ModelAdmin):
list_display_links = ('id',)
date_hierarchy = 'date'
list_filter = ('name', 'layer', 'user', 'date', 'state')
search_fields = ('name', 'layer', 'user', 'date', 'state')
search_fields = ('name', 'layer__title', 'user__username', 'date', 'state')

def delete_queryset(self, request, queryset):
"""
Expand Down

0 comments on commit f21fd36

Please sign in to comment.