2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Add some more search terms to the admin interface

This commit is contained in:
Oliver Walters
2020-09-29 23:41:50 +10:00
parent 1f6cbd7408
commit 0e5f10c020
4 changed files with 37 additions and 0 deletions

View File

@ -20,6 +20,12 @@ class BuildAdmin(ImportExportModelAdmin):
'notes',
)
search_fields = [
'title',
'part__name',
'part__description',
]
class BuildItemAdmin(admin.ModelAdmin):