aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Dawn/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index efc375d9..7963827d 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -88,7 +88,7 @@ def trade_manage(tradeid):
@app.route('/blotter/')
def list_trades():
- trade_list = BondDeal.query.order_by(BondDeal.trade_date, BondDeal.id)
+ trade_list = BondDeal.query.order_by(BondDeal.trade_date.desc(), BondDeal.id.desc())
return render_template('blotter.html', trades=trade_list.all())
@app.route('/tickets/<int:tradeid>')