|
@ -61,7 +61,7 @@ def post_group_topics( |
|
|
if link: |
|
|
if link: |
|
|
# check to see if this link has been posted before |
|
|
# check to see if this link has been posted before |
|
|
previous_topics = ( |
|
|
previous_topics = ( |
|
|
request.db_session.query(Topic) |
|
|
|
|
|
|
|
|
request.query(Topic) |
|
|
.filter(Topic.link == link) |
|
|
.filter(Topic.link == link) |
|
|
.order_by(desc(Topic.created_time)) |
|
|
.order_by(desc(Topic.created_time)) |
|
|
.limit(5) |
|
|
.limit(5) |
|
|