Closed dag7dev closed 1 month ago
Please also make sure to run pre-commit, as the checks are failing due to some unformatted file
not sure why it hasn't been ran automatically
I'm pretty sure about it. When I have some time, I will send a screenshot to clarify this
-------- Messaggio originale -------- 18/05/24 22:22, Antonio Vivace ha scritto:
@avivace commented on this pull request.
In hhub/views.py:
@@ -171,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),
What? That's not true. At this line, page is used to paginate, if it's not a proper integer it would've failed there, so there's no way the code progress with page being a string.
— Reply to this email directly, [view it on GitHub] You are receiving this because you were mentioned.Message ID: @.***>
@avivace take a look. This is without the "int"
Same goes for other nums obviously:
This is with it and intended:
Ah alright, I understood what you mean, it's on the way back on the response
Description