From 928303f27b07920aa93c2e7cb46e1ef1401f9d2f Mon Sep 17 00:00:00 2001 From: fadingNA Date: Wed, 6 Nov 2024 22:36:59 -0500 Subject: [PATCH] fix small bug name of page --- application/api/user/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/user/routes.py b/application/api/user/routes.py index 7490d0fb..5295c2ee 100644 --- a/application/api/user/routes.py +++ b/application/api/user/routes.py @@ -488,7 +488,7 @@ class CombinedJson(Resource): } ) - first_index = (int(page_number) - 1) * int(rows_per_page) + first_index = (int(page) - 1) * int(rows_per_page) last_index = first_index + int(rows_per_page) paginated_docs = data[first_index:last_index]