Merge branch 'pre_trustie_server' into trustie_server
This commit is contained in:
commit
bb0098bba2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue