editor-fix
All checks were successful
Deploy on push / deploy (push) Successful in 58s

This commit is contained in:
2025-02-03 19:06:00 +03:00
parent 0347b6f5ff
commit 9fe5fea238
2 changed files with 31 additions and 11 deletions

View File

@@ -69,10 +69,7 @@ def query_with_stat(info):
Shout.deleted_at.is_(None), # Проверяем deleted_at
)
)
# Добавим логирование
logger.info(f"Base query filters: published_at IS NOT NULL AND deleted_at IS NULL")
# Главный автор
main_author = aliased(Author)
q = q.join(main_author, main_author.id == Shout.created_by)