This commit is contained in:
parent
cbecf13053
commit
c68e964bf5
|
@ -398,7 +398,7 @@ async def admin_get_shouts(
|
||||||
if status == "all":
|
if status == "all":
|
||||||
# Для статуса "all" используем простой запрос без статистики
|
# Для статуса "all" используем простой запрос без статистики
|
||||||
q = q.limit(limit).offset(offset)
|
q = q.limit(limit).offset(offset)
|
||||||
shouts_result = session.execute(q).all()
|
shouts_result = session.execute(q).unique().all()
|
||||||
shouts_data = []
|
shouts_data = []
|
||||||
|
|
||||||
for row in shouts_result:
|
for row in shouts_result:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user