This commit is contained in:
parent
597fd6ad55
commit
b8f86e5d5e
|
@ -177,8 +177,7 @@ def query_with_stat(info):
|
||||||
"rating",
|
"rating",
|
||||||
func.coalesce(stats_subquery.c.rating, 0),
|
func.coalesce(stats_subquery.c.rating, 0),
|
||||||
"last_commented_at",
|
"last_commented_at",
|
||||||
func.coalesce(stats_subquery.c.last_commented_at, 0),
|
func.coalesce(stats_subquery.c.last_commented_at, 0)
|
||||||
None,
|
|
||||||
).label("stat")
|
).label("stat")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user