Skip to content

Commit

Permalink
ClinVarXML: Put search functionality into admin
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMadBug committed Sep 1, 2023
1 parent 26eff51 commit 32d375e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions annotation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def has_add_permission(self, request, obj=None):

@admin.register(ClinVarRecordCollection)
class ClinVarRecordCollectionAdmin(ModelAdminBasics):
search_fields = ("clinvar_variation_id", "allele__id")
inlines = (ClinVarRecordAdmin, )
list_per_page = 20

Expand Down

0 comments on commit 32d375e

Please sign in to comment.