合并分支 'dev' 到 'test'
Dev 查看合并请求 !2
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -134,7 +134,7 @@ func (repository *ArticleRepository) Find(ctx context.Context, conn transaction. | @@ -134,7 +134,7 @@ func (repository *ArticleRepository) Find(ctx context.Context, conn transaction. | ||
134 | case "countLove descending": | 134 | case "countLove descending": |
135 | tx = tx.Order("count_love desc") | 135 | tx = tx.Order("count_love desc") |
136 | default: | 136 | default: |
137 | - tx = tx.Order("id desc") | 137 | + tx = tx.Order("created_at desc") |
138 | } | 138 | } |
139 | } | 139 | } |
140 | if v, ok := queryOptions["ids"]; ok { | 140 | if v, ok := queryOptions["ids"]; ok { |
-
请 注册 或 登录 后发表评论