aboutsummaryrefslogtreecommitdiffhomepage
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 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: