From c68e964bf5ba4a4268eae40d897cdc0ad85176a1 Mon Sep 17 00:00:00 2001 From: Untone Date: Sat, 28 Jun 2025 14:30:18 +0300 Subject: [PATCH] shouts-admin-fix --- resolvers/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/admin.py b/resolvers/admin.py index c4ecf72e..b4331ad7 100644 --- a/resolvers/admin.py +++ b/resolvers/admin.py @@ -398,7 +398,7 @@ async def admin_get_shouts( if status == "all": # Для статуса "all" используем простой запрос без статистики q = q.limit(limit).offset(offset) - shouts_result = session.execute(q).all() + shouts_result = session.execute(q).unique().all() shouts_data = [] for row in shouts_result: