fixed 项目增加项目团队搜索

This commit is contained in:
xxq250 2023-01-04 11:45:08 +08:00
parent 4ca3b66228
commit ec0846f223
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Projects::ListQuery < ApplicationQuery
def filter_projects(collection)
collection = by_pinned(collection)
collection = by_recommend(collection)
collection = by_search(collection)
collection = by_search(collection) if params[:search].present?
collection = by_project_type(collection)
collection = by_project_category(collection)
collection = by_project_language(collection)