diff --git a/drama/routes/front.py b/drama/routes/front.py index 26c559f70b..a5756b2c13 100644 --- a/drama/routes/front.py +++ b/drama/routes/front.py @@ -210,7 +210,7 @@ def front_all(v): ids = ids[0:25] # check if ids exist - posts = get_posts(ids, sort=sort, v=v) + posts = get_posts(ids, v=v) if request.path == "/": return render_template("home.html", v=v, listing=posts, next_exists=next_exists, sort=sort, t=t, page=page) else: return jsonify({"data": [x.json for x in posts], "next_exists": next_exists}) @@ -312,7 +312,7 @@ def changelog(v): ids = ids[0:25] # check if ids exist - posts = get_posts(ids, sort=sort, v=v) + posts = get_posts(ids, v=v) return {'html': lambda: render_template("changelog.html", v=v,