diff --git a/resolvers/author.py b/resolvers/author.py index 8e20493a..a64116c3 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -124,7 +124,7 @@ def load_authors_by(_, _info, by, limit, offset): if order in ['likes', 'shouts', 'followers']: q = q.order_by(desc(text(f'{order}_stat'))) - q = q.distinct() + # q = q.distinct() q = q.limit(limit).offset(offset) authors = get_with_stat(q)