mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
更新gems源
This commit is contained in:
@@ -48,7 +48,8 @@ class Projects::ListQuery < ApplicationQuery
|
||||
@ids = Projects::ElasticsearchService.call(params[:search])
|
||||
items = items.where(platform: 'forge')
|
||||
if @ids.present?
|
||||
items = items.where(id: @ids).by_name_or_identifier(params[:search])
|
||||
# items = items.where(id: @ids).by_name_or_identifier(params[:search])
|
||||
items = items.where(id: @ids)
|
||||
else
|
||||
items = items.by_name_or_identifier(params[:search])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user