Add order_by.
This commit is contained in:
parent
e18009b0dd
commit
9efade745c
@ -107,7 +107,7 @@ class Account(db.Model):
|
||||
status_query, status_query.c.account_id == cls.id
|
||||
)
|
||||
|
||||
return query
|
||||
return query.order_by(cls.name)
|
||||
|
||||
@validates('authorized_overdraft')
|
||||
def validate_authorized_overdraft(self, key, authorized_overdraft):
|
||||
|
Loading…
Reference in New Issue
Block a user