# HG changeset patch # User Brian Neal # Date 1299034035 0 # Node ID 2177a71b680cdb1486b554d405958907bd33743b # Parent a43add8af83d04465b0d25e0033ed1ef81f44cf0 Fixing #173; display donors in order by date, ascending on the main view. diff -r a43add8af83d -r 2177a71b680c gpp/donations/models.py --- a/gpp/donations/models.py Wed Mar 02 02:34:57 2011 +0000 +++ b/gpp/donations/models.py Wed Mar 02 02:47:15 2011 +0000 @@ -30,7 +30,8 @@ qs = self.filter(payment_date__year=year, payment_date__month=month, - test_ipn=settings.DONATIONS_DEBUG).select_related('user') + test_ipn=settings.DONATIONS_DEBUG).order_by( + 'payment_date').select_related('user') gross = decimal.Decimal() net = decimal.Decimal()