diff --git a/archivist/apps/files/admin.py b/archivist/apps/files/admin.py index 0afef7d..4c45a4d 100644 --- a/archivist/apps/files/admin.py +++ b/archivist/apps/files/admin.py @@ -9,6 +9,7 @@ from .models import Metadata_Files, Submission_File, User_Profile_Images, User_B class Submission_FileAdmin(admin.ModelAdmin): list_display = ('id', 'file_link', 'date_added', 'file_hash', 'file',) + search_fields = ['file_name', 'file_hash'] def file_link(self, obj): url = reverse("admin:files_submission_file_change", args=[obj.id])