From 831f93b5e6eb4b44985426ce19c8ad3bcc70c1d0 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 16 Jun 2025 21:25:11 -0500 Subject: limit tags shown in thread list --- apioforum/forum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apioforum/forum.py b/apioforum/forum.py index c44afe6..05fe231 100644 --- a/apioforum/forum.py +++ b/apioforum/forum.py @@ -189,7 +189,7 @@ def view_forum(forum,page=1): """SELECT tags.* FROM tags INNER JOIN thread_tags ON thread_tags.tag = tags.id WHERE thread_tags.thread = ? - ORDER BY tags.id; + ORDER BY tags.id LIMIT 4; """,(thread['id'],)).fetchall() if thread['poll'] is not None: -- cgit v1.2.3