This commit is contained in:
parent
5f36b7c6e2
commit
231de135ca
|
@ -315,7 +315,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
|
||||||
logger.debug(result)
|
logger.debug(result)
|
||||||
logger.debug(len(result))
|
logger.debug(len(result))
|
||||||
for [shout,] in result:
|
for [shout,] in result:
|
||||||
logger.debug(shout)
|
# logger.debug(shout)
|
||||||
shout.score = scores[f"{shout.id}"]
|
shout.score = scores[f"{shout.id}"]
|
||||||
shouts.append(shout)
|
shouts.append(shout)
|
||||||
shouts.sort(key=lambda x: x.score, reverse=True)
|
shouts.sort(key=lambda x: x.score, reverse=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user