any-id-fix
Some checks failed
Deploy on push / deploy (push) Failing after 6s

This commit is contained in:
2024-04-09 22:09:26 +03:00
parent 44647bbf39
commit e0df7e7436
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ def apply_reaction_filters(by, q):
topic = by.get('topic', None)
if topic:
q = q.filter(Shout.topics.contains(topic))
q = q.filter(Shout.topics.any(id=topic))
if by.get('comment', False):
q = q.filter(Reaction.kind == ReactionKind.COMMENT.value)