forked from MarseyWorld/MarseyWorld
fdfd
parent
b6dbb02496
commit
b9e52eb4ca
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue