events updated
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user