Make the inventory pages work with the new HTSChangeList.
authorDiane Trout <diane@caltech.edu>
Thu, 13 Dec 2012 22:21:52 +0000 (14:21 -0800)
committerDiane Trout <diane@caltech.edu>
Thu, 13 Dec 2012 22:21:52 +0000 (14:21 -0800)
commitbb9047d238ba34ed163c96cd8c857c34e85420a7
tree7f6cbb695df17c849373c7626d6a8736aa3c65f7
parentf7462ecc98a09d90721cbb9a7651b5b7f1780da7
Make the inventory pages work with the new HTSChangeList.

There were a few problems, I was calling get_result_set in the template,
which requires the HTTP request which isn't available. I needed to be using
result_list instead.

I also changed the name in the context and failed to use the right model
for one of the indexes.
htsworkflow/frontend/inventory/views.py
htsworkflow/frontend/samples/changelist.py
htsworkflow/frontend/templates/inventory/inventory_index.html
htsworkflow/frontend/templates/inventory/inventory_itemtype_index.html