This commit is contained in:
@@ -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")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user