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
Merge branch 'standalone_develop' into pre_trustie_server
pull/312/head^2
“xxq250”
3 years ago
parent
ccaae183b1
79d46231ba
commit
dfc16bf1f8
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/queries/projects/list_query.rb
+ 1
- 0
app/queries/projects/list_query.rb
View File
@@ -34,6 +34,7 @@ class Projects::ListQuery < ApplicationQuery
def by_search(items)
ids = Projects::ElasticsearchService.call(params[:search])
items = items.where(platform: 'forge')
if ids.present?
items.where(id: ids).by_name_or_identifier(params[:search])
else
Write
Preview
Loading…
Cancel
Save