summaryrefslogtreecommitdiffhomepage
path: root/apioforum/forum.py
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/forum.py')
-rw-r--r--apioforum/forum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/forum.py b/apioforum/forum.py
index 261da15..61babbd 100644
--- a/apioforum/forum.py
+++ b/apioforum/forum.py
@@ -12,7 +12,7 @@ bp = Blueprint("forum", __name__, url_prefix="/")
@bp.route("/")
def view_forum():
db = get_db()
- threads = db.execute("SELECT * FROM threads ORDER BY updated DESC LIMIT 10;").fetchall()
+ threads = db.execute("SELECT * FROM threads ORDER BY updated DESC;").fetchall()
return render_template("view_forum.html",threads=threads)
@bp.route("/create_thread",methods=("GET","POST"))