Skip to content

Commit

Permalink
Solved issue BU-ISCIII#321 Unsupported searching in admin page on mol…
Browse files Browse the repository at this point in the history
…eculePrepations
  • Loading branch information
luissian committed Sep 28, 2024
1 parent 1a08ff8 commit 5881ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class MoleculePreparationAdmin(admin.ModelAdmin):
"reused_number",
)
list_filter = ("generated_at",)
search_fields = ("sample__startswith",)
search_fields = ("sample__sample_name__startswith",)


class MoleculeUsedForAdmin(admin.ModelAdmin):
Expand Down

0 comments on commit 5881ffe

Please sign in to comment.