Updated inventory to support display of inventory items based on uuid/barcode_id...
[htsworkflow.git] / htsworkflow / frontend / inventory / urls.py
index 4331cb770582130e218ad3451519359dc40f310c..49ede616e44a0ecce7f25ca5a4242cb4d9e48589 100644 (file)
@@ -7,7 +7,8 @@ urlpatterns = patterns('',
      (r'^lts/link/(?P<flowcell>.+)/(?P<serial>.+)/$', 'htsworkflow.frontend.inventory.views.link_flowcell_and_device'),
      
     # INDEX
-    (r'^(?P<uuid>[a-fA-F0-9]{32})/$', 'htsworkflow.frontend.inventory.views.item_summary'),
+    (r'^(?P<uuid>[a-fA-F0-9]{32})/$', 'htsworkflow.frontend.inventory.views.item_summary_by_uuid'),
     (r'^(?P<uuid>[a-fA-F0-9]{32})/print/$', 'htsworkflow.frontend.inventory.views.item_print'),
+    (r'^(?P<barcode_id>.+)/$', 'htsworkflow.frontend.inventory.views.item_summary_by_barcode'),
     (r'^$', 'htsworkflow.frontend.inventory.views.index')
     )