diff --git a/app/views/projects/index/modals/_move_to_modal_contents.html.erb b/app/views/projects/index/modals/_move_to_modal_contents.html.erb index 3929a6cf7..e82532ba5 100644 --- a/app/views/projects/index/modals/_move_to_modal_contents.html.erb +++ b/app/views/projects/index/modals/_move_to_modal_contents.html.erb @@ -20,7 +20,7 @@
  • Projects <%= render partial: 'projects/index/modals/move_to_folders_tree.html.erb', - locals: { records: sidebar_folders_tree(current_team, current_user, projects_view_mode, folders_only: true) } %> + locals: { records: sidebar_folders_tree(current_team, current_user, @current_sort, folders_only: true) } %>