From: Brandon King Date: Thu, 23 Jul 2009 21:30:54 +0000 (+0000) Subject: Lorian requested item search box X-Git-Tag: 0.2.6~3 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=1425162e38c93fab491ddf6ea4622b86b46c417e Lorian requested item search box --- diff --git a/htsworkflow/frontend/inventory/admin.py b/htsworkflow/frontend/inventory/admin.py index 00e79fb..f6d0740 100644 --- 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