shout-id-fix
This commit is contained in:
parent
30f5b09a51
commit
045217c011
|
@ -428,7 +428,7 @@ async def reacted_shouts_updates(follower_id: int, limit=50, offset=0) -> List[S
|
||||||
.outerjoin(
|
.outerjoin(
|
||||||
Reaction,
|
Reaction,
|
||||||
and_(
|
and_(
|
||||||
Reaction.shout_id == Shout.id,
|
Reaction.shout == Shout.id,
|
||||||
Reaction.created_by == follower_id,
|
Reaction.created_by == follower_id,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -40,7 +40,7 @@ def add_topic_stat_columns(q):
|
||||||
.join(
|
.join(
|
||||||
Reaction,
|
Reaction,
|
||||||
and_(
|
and_(
|
||||||
Reaction.shout_id == Shout.id,
|
Reaction.shout == Shout.id,
|
||||||
Reaction.kind == ReactionKind.COMMENT.value,
|
Reaction.kind == ReactionKind.COMMENT.value,
|
||||||
Reaction.deleted_at.is_(None),
|
Reaction.deleted_at.is_(None),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user