projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
32c17fd
)
Lorian requested item search box
author
Brandon King
<kingb@caltech.edu>
Thu, 23 Jul 2009 21:30:54 +0000
(21:30 +0000)
committer
Brandon King
<kingb@caltech.edu>
Thu, 23 Jul 2009 21:30:54 +0000
(21:30 +0000)
htsworkflow/frontend/inventory/admin.py
patch
|
blob
|
history
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',
)
list_filter = (
'item_type',
)
+ search_fields = [
+ 'barcode_id',
+ 'uuid',
+ 'status__name',
+ 'item_type__name',
+ 'location__name',
+ 'notes'
+ ]
class ItemInfoAdmin(admin.ModelAdmin):
save_as = True
class ItemInfoAdmin(admin.ModelAdmin):
save_as = True