events updated

This commit is contained in:
2024-11-13 20:53:06 +03:00
parent 4199cc16b4
commit 83b3a5989e
9 changed files with 48 additions and 45 deletions

View File

@@ -68,7 +68,7 @@ class AlchemyJsonResponse:
filter_model = first_item.filter_attr
total_count = cls.result.query.limit(None).offset(None).count()
total_page_number = round(total_count / int(first_item.filter_attr.size), 0) + 1
total_page_number = round(total_count / int(first_item.filter_attr.size), 0)
pagination_dict = {
"size/total_count": [cls.result.count, total_count],