Browse Source

Merge branch 'standalone_develop' into pre_trustie_server

pull/312/head^2
“xxq250” 3 years ago
parent
commit
dfc16bf1f8
1 changed files with 1 additions and 0 deletions
  1. +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


Loading…
Cancel
Save