From 1c5337e6ab0bb3a8d50fc9e762ea2f4b4cac8fd9 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Tue, 12 Jan 2021 15:45:21 +0100 Subject: [PATCH] Fix for move_modal partial rendering --- .../projects/index/modals/_move_to_modal_contents.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } %>