mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
change counts
This commit is contained in:
@@ -10,7 +10,7 @@ class Projects::ListQuery < ApplicationQuery
|
||||
end
|
||||
|
||||
def call
|
||||
q = Project.visible.ransack(name_or_identifier_cont: params[:search])
|
||||
q = Project.visible.search_project(params[:search])
|
||||
|
||||
scope = q.result(distinct: true)
|
||||
.includes(:project_category, :project_language, :repository, owner: :user_extension)
|
||||
|
||||
Reference in New Issue
Block a user