Fix subquery.
This commit is contained in:
parent
a0a8aee818
commit
26e7d578c7
@ -195,7 +195,7 @@ class Account(db.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if end:
|
if end:
|
||||||
query = query.filter(query.c.operation_date <= str(end))
|
query = query.filter(base_query.c.operation_date <= str(end))
|
||||||
|
|
||||||
elif end:
|
elif end:
|
||||||
query = query.filter(Operation.operation_date <= str(end))
|
query = query.filter(Operation.operation_date <= str(end))
|
||||||
|
Loading…
Reference in New Issue
Block a user