fdfd
This commit is contained in:
parent
01303fb7cc
commit
b11e0b7130
1 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ def front_all(v):
|
||||||
ids = ids[0:25]
|
ids = ids[0:25]
|
||||||
|
|
||||||
# check if ids exist
|
# 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)
|
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})
|
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]
|
ids = ids[0:25]
|
||||||
|
|
||||||
# check if ids exist
|
# 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",
|
return {'html': lambda: render_template("changelog.html",
|
||||||
v=v,
|
v=v,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue