1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-30 15:04:18 +00:00

reverse x axis

This commit is contained in:
Steffo 2018-11-18 18:17:46 +01:00
parent b4a880c5a2
commit 04ac319087

View file

@ -360,7 +360,7 @@ def page_activity():
db_session = db.Session() db_session = db.Session()
reports = db_session.query(db.ActivityReport).order_by(db.ActivityReport.timestamp.desc()).limit(192).all() reports = db_session.query(db.ActivityReport).order_by(db.ActivityReport.timestamp.desc()).limit(192).all()
db_session.close() db_session.close()
return render_template("activity.html", activityreports=reports) return render_template("activity.html", activityreports=reversed(reports))
@app.route("/api/token") @app.route("/api/token")