mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
Fix members ordering. Fixes #437
This commit is contained in:
parent
c31622b553
commit
89982b0342
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Project(db.Model):
|
|||
name = db.Column(db.UnicodeText)
|
||||
password = db.Column(db.String(128))
|
||||
contact_email = db.Column(db.String(128))
|
||||
members = db.relationship("Person", backref="project")
|
||||
members = db.relationship("Person", backref=orm.backref("project", order_by=name))
|
||||
|
||||
@property
|
||||
def _to_serialize(self):
|
||||
|
|
Loading…
Reference in a new issue