X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Finventory%2Fviews.py;h=027c4aaa4cbdade50a7e9b465e498757ee661d27;hp=65040a1e10dbabd35dc565b78066c0dac36465d2;hb=5f645ab6ae26b456f5b11b9e764da7e9c5367f1d;hpb=753584c653403e158bf3b830ef1f1489adb61148 diff --git a/htsworkflow/frontend/inventory/views.py b/htsworkflow/frontend/inventory/views.py index 65040a1..027c4aa 100644 --- a/htsworkflow/frontend/inventory/views.py +++ b/htsworkflow/frontend/inventory/views.py @@ -1,4 +1,6 @@ from htsworkflow.frontend.inventory.models import Item, LongTermStorage +from htsworkflow.frontend.inventory.bcmagic import item_search +from htsworkflow.frontend.bcmagic.plugin import register_search_plugin from htsworkflow.frontend.experiments.models import FlowCell from htsworkflow.frontend.bcmagic.forms import BarcodeMagicForm from htsworkflow.frontend.bcprinter.util import print_zpl_socket @@ -12,6 +14,8 @@ from django.template import RequestContext from django.template.loader import get_template from django.contrib.auth.decorators import login_required +register_search_plugin('Inventory Item', item_search) + try: import json except ImportError, e: