fix: 项目列表删除组织筛选

This commit is contained in:
yystopf 2021-09-18 10:38:07 +08:00
parent d13006ca09
commit a910b11860
1 changed files with 1 additions and 1 deletions

View File

@ -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])