diff --git a/conservancy_beancount/reports/query.py b/conservancy_beancount/reports/query.py index ed6ea4b..7385c86 100644 --- a/conservancy_beancount/reports/query.py +++ b/conservancy_beancount/reports/query.py @@ -214,6 +214,7 @@ FROM donor JOIN donor_email_address_mapping map ON donor.id = map.donor_id JOIN email_address email ON map.email_address_id = email.id WHERE donor.ledger_entity_id = ? +ORDER BY email.date_encountered DESC """ @@ -231,6 +232,7 @@ FROM donor JOIN donor_postal_address_mapping map ON donor.id = map.donor_id JOIN postal_address postal ON map.postal_address_id = postal.id WHERE donor.ledger_entity_id = ? +ORDER BY postal.date_encountered DESC """ diff --git a/setup.py b/setup.py index 5e0f4bf..1a73652 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup( name='conservancy_beancount', description="Plugin, library, and reports for reading Conservancy's books", - version='1.19.4', + version='1.19.5', author='Software Freedom Conservancy', author_email='info@sfconservancy.org', license='GNU AGPLv3+',