ddumontatibm/Landos-App — pull request #19 by KenPowers (2013-02-10 20:04:24+00:00)
Title: Order history tab

The `OrderHistoryPane` is based on the `RunSummary` pane.

I attempted to refactor the order submission for `CreateOrderPane` and `OrderHistoryPane` to a single function included with AMD but I couldn't get it working. Right now the code for reordering on a new run is mostly copied from creating a new run. I may take another look at this later.

Right now `OrderHistoryPane` will only be added as a tab when `CreateOrderPane` is added as a tab. The tab will always be active but the reorder buttons will deactivate when the run expires. There is an opportunity to make the `OrderHistoryPane` always appear and just leave the buttons as is.

I also started sorting the orders in the sql by the order id descending so users would see their most recent orders first by default.