后台项目增加镜像项目查询

This commit is contained in:
xxq250 2026-04-27 13:53:57 +08:00
parent 6f7aad06c6
commit 2f79aab571
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class Admins::ProjectsController < Admins::BaseController
when 'original'
projects = projects.where(forked_from_project_id: nil, project_type: 'common')
when 'mirror'
projects = projects.where(project_type: 'mirror')
projects = projects.where(project_type: 'sync_mirror')
end
@projects = paginate projects.includes(:owner, :members, :issues, :versions, :attachments, :project_score)
end