forked from Gitlink/forgeplus
fix: 项目列表删除组织筛选
This commit is contained in:
parent
d13006ca09
commit
a910b11860
|
@ -11,7 +11,7 @@ class Projects::ListQuery < ApplicationQuery
|
|||
end
|
||||
|
||||
def call
|
||||
q = Project.all_visible(current_user_id).by_name_or_identifier(params[:search])
|
||||
q = Project.visible.by_name_or_identifier(params[:search])
|
||||
|
||||
scope = q
|
||||
.with_project_type(params[:project_type])
|
||||
|
|
Loading…
Reference in New Issue