[FIX] sorting by start date and descending order
commitfc71f6ab35d5ce5b9552b55a7d6f4de6bf368c03
authorAdrian Moennich <jerome.ernst.monnich@cern.ch>
Mon, 14 Nov 2011 09:35:55 +0000 (14 10:35 +0100)
committerPedro Ferreira <jose.pedro.ferreira@cern.ch>
Mon, 14 Nov 2011 09:42:46 +0000 (14 10:42 +0100)
tree97323a7dcade79a91016ba56ae131e477cee022f
parent012feff784db17ac546606cc30c4107c786c8757
[FIX] sorting by start date and descending order

- index is just sorted by day, so we actually need to sort the list
- correctly handle the 'descending' param
- use sorted's 'reverse' kwarg instead of .reverse() for descending
indico/web/http_api/api.py