query-fix
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
fail_fast: true
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
|
||||
@@ -343,7 +343,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
|
||||
if topic:
|
||||
shout_data['main_topic'] = topic
|
||||
authors = (
|
||||
session.query(Author)
|
||||
session.query(Author, ShoutAuthor)
|
||||
.join(
|
||||
ShoutTopic,
|
||||
and_(
|
||||
|
||||
Reference in New Issue
Block a user