mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 08:28:32 +01:00
implement goto rating
This commit is contained in:
@@ -74,9 +74,10 @@ def leaderboard():
|
||||
start = flask.request.args.get(PARAM_START)
|
||||
page = flask.request.args.get("page")
|
||||
|
||||
# intentional double if, page is supposed to overwrite start #
|
||||
if start:
|
||||
start = int(start)
|
||||
elif page:
|
||||
if page:
|
||||
start = SEGMENT * int(page)
|
||||
else:
|
||||
start = 0
|
||||
|
||||
Reference in New Issue
Block a user