From 89e78bb4d0ddccea47d8219129b5e8791fb797a6 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Fri, 26 Jul 2019 16:34:41 +0200 Subject: Remove Added on column from bill list. to avoid breaking anyone's workflow, i've instead use a tooltip to display the creation date. fix #418 --- ihatemoney/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ihatemoney/models.py') diff --git a/ihatemoney/models.py b/ihatemoney/models.py index b9cff4f..3e908fa 100644 --- a/ihatemoney/models.py +++ b/ihatemoney/models.py @@ -175,8 +175,8 @@ class Project(db.Model): .filter(Bill.payer_id == Person.id)\ .filter(Person.project_id == Project.id)\ .filter(Project.id == self.id)\ - .order_by(Bill.creation_date.desc())\ .order_by(Bill.date.desc())\ + .order_by(Bill.creation_date.desc())\ .order_by(Bill.id.desc()) def get_member_bills(self, member_id): -- cgit v1.1