|
@@ -28,7 +28,7 @@ def index():
|
|
|
order_by(Topic.id.desc()).\
|
|
|
paginate(page, flaskbb_config["TOPICS_PER_PAGE"], True)
|
|
|
|
|
|
- recent_topics = Topic.query.order_by(Topic.date_created).limit(5).offset(0)
|
|
|
+ recent_topics = Topic.query.order_by(Topic.last_updated.desc()).limit(5)
|
|
|
|
|
|
user_count = User.query.count()
|
|
|
topic_count = Topic.query.count()
|