projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lorian requested item search box
[htsworkflow.git]
/
htsworkflow
/
frontend
/
inventory
/
admin.py
diff --git
a/htsworkflow/frontend/inventory/admin.py
b/htsworkflow/frontend/inventory/admin.py
index 00e79fb9d2ba265f05f2ca2370ca00edf6833a6f..f6d0740d383fd41260d03417cb840fc92fea4b77 100644
(file)
--- a/
htsworkflow/frontend/inventory/admin.py
+++ b/
htsworkflow/frontend/inventory/admin.py
@@
-9,6
+9,14
@@
class ItemAdmin(admin.ModelAdmin):
list_filter = (
'item_type',
)
+ search_fields = [
+ 'barcode_id',
+ 'uuid',
+ 'status__name',
+ 'item_type__name',
+ 'location__name',
+ 'notes'
+ ]
class ItemInfoAdmin(admin.ModelAdmin):
save_as = True