From 1425162e38c93fab491ddf6ea4622b86b46c417e Mon Sep 17 00:00:00 2001 From: Brandon King Date: Thu, 23 Jul 2009 21:30:54 +0000 Subject: [PATCH] Lorian requested item search box --- htsworkflow/frontend/inventory/admin.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2