fg
This commit is contained in:
parent
4eb480a321
commit
e6ec0eb701
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def log(v):
|
|||
|
||||
page=int(request.values.get("page",1))
|
||||
|
||||
actions = g.db.query(ModAction).offset(25 * (page - 1)).limit(26).all()
|
||||
actions = g.db.query(ModAction).order_by(ModAction.id.desc()).offset(25 * (page - 1)).limit(26).all()
|
||||
|
||||
next_exists = len(actions)==26
|
||||
actions = actions[:25]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue