This commit is contained in:
Igor Lobanov
2022-11-18 03:19:10 +01:00
parent aee83c31b5
commit f0fc09b1a1
4 changed files with 19 additions and 18 deletions

View File

@@ -210,5 +210,5 @@ async def load_authors_by(_, info, by, limit, offset):
for a in authors:
a.stat = await get_author_stat(a.slug)
authors = list(set(authors))
authors = sorted(authors, key=lambda a: a["stat"].get(by.get("stat")))
# authors = sorted(authors, key=lambda a: a["stat"].get(by.get("stat")))
return authors