diff --git a/app/routes/topics.py b/app/routes/topics.py index e7c1488..b9207b3 100644 --- a/app/routes/topics.py +++ b/app/routes/topics.py @@ -16,7 +16,7 @@ def topic(slug): if not topic: abort(404) sort_by = request.args.get('sort_by', default=session.get('sort_by', default='activity')) - PER_PAGE = 3 + PER_PAGE = 10 threads_count = Threads.count({'topic_id': topic.id}) page_count = max(1, math.ceil(threads_count / PER_PAGE)) try: