diff options
| author | Brice Maron <b.maron@whatever-company.com> | 2019-07-26 16:34:41 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2019-07-27 03:44:42 +0200 |
| commit | 89e78bb4d0ddccea47d8219129b5e8791fb797a6 (patch) | |
| tree | 3e5c12aa0af743ab6119c2e1efb5720d30efae28 /ihatemoney/models.py | |
| parent | 669b15b0ec0a491f169772ac69e96a9970759a36 (diff) | |
| download | ihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.zip ihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.tar.gz ihatemoney-mirror-89e78bb4d0ddccea47d8219129b5e8791fb797a6.tar.bz2 | |
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
Diffstat (limited to 'ihatemoney/models.py')
| -rw-r--r-- | ihatemoney/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
