|
@@ -931,7 +931,7 @@ func GetArticleResearchList(condition string, pars []interface{}, startSize, pag
|
|
- sql += ` GROUP BY article_id ORDER BY publish_date DESC LIMIT ?,? `
|
|
+ sql += ` GROUP BY article_id ORDER BY top_time DESC , publish_date DESC LIMIT ?,? `
|
|
_, err = o.Raw(sql, userId, userId, pars, startSize, pageSize).QueryRows(&items)
|
|
_, err = o.Raw(sql, userId, userId, pars, startSize, pageSize).QueryRows(&items)
|
|
sql += ` GROUP BY a.article_id ORDER BY top_time DESC , a.publish_date DESC LIMIT ?,? `
|
|
sql += ` GROUP BY a.article_id ORDER BY top_time DESC , a.publish_date DESC LIMIT ?,? `
|