Skip to content

Commit

Permalink
fix: page current now returns an integer number
Browse files Browse the repository at this point in the history
  • Loading branch information
dag7dev committed May 17, 2024
1 parent 7455da2 commit 3005c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hhub/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def search_entries(request):
# total number of pages
"page_total": paginator.num_pages,
# current request page
"page_current": page,
"page_current": int(page),
# number of elements in this page
"page_elements": len(serializer.data),
# array of entries manifests
Expand Down

0 comments on commit 3005c1b

Please sign in to comment.