classMoveToProjectFinderdefinitialize(user)@user=userenddefexecute(from_project,search: nil,offset_id: nil)projects=@user.projects_where_can_admin_issuesprojects=projects.search(search)ifsearch.present?projects=projects.excluding_project(from_project)# to ask for Project#name_with_namespaceprojects.includes(namespace: :owner)endend