mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX query projects bug
This commit is contained in:
@@ -10,7 +10,7 @@ class Projects::ListQuery < ApplicationQuery
|
||||
end
|
||||
|
||||
def call
|
||||
scope = Project.like(params[:search])
|
||||
scope = Project.visible.like(params[:search])
|
||||
.with_project_type(params[:project_type])
|
||||
.with_project_category(params[:category_id])
|
||||
.with_project_language(params[:language_id])
|
||||
|
||||
Reference in New Issue
Block a user