This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修改issues order
tags/v1
sylor_huang@126.com
6 years ago
parent
fe32adee16
commit
ce0e3754eb
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
app/services/issues/list_query_service.rb
+ 1
- 2
app/services/issues/list_query_service.rb
View File
@@ -41,8 +41,7 @@ class Issues::ListQueryService < ApplicationService
order_type = params[:order_type] || "desc" #或者"asc"
order_name = params[:order_name] || "created_on" #或者"updated_on"
issues.reorder("#{order_name} #{order_type}")
issues.reorder("issues.#{order_name} #{order_type}")
end
end
Write
Preview
Loading…
Cancel
Save