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