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
FIX 优化项目列表数据查询
tags/v1
Jasder
6 years ago
parent
ee7d2fca2d
commit
ea74a7ab0a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/projects_controller.rb
+ 1
- 1
app/controllers/projects_controller.rb
View File
@@ -36,7 +36,7 @@ class ProjectsController < ApplicationController
end
def group_type_list
@project_group_list = Project.visible.group(:project_type).select('project_type, count(
*) AS projects_count'
)
@project_group_list = Project.visible.group(:project_type).select('project_type, count(
project_type) AS projects_count').having("count(project_type) > ?", 0
)
end
def update
Write
Preview
Loading…
Cancel
Save