From f84de45cfe0293b51786e4debe8b4b06ee63d0a7 Mon Sep 17 00:00:00 2001 From: ajugo Date: Wed, 19 Jul 2023 09:42:23 +0200 Subject: [PATCH] Fix opening of activites for archived my_module [SCI-8887] (#5804) --- app/views/canvas/full_zoom/_my_module.html.erb | 3 ++- app/views/my_modules/_header.html.erb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/canvas/full_zoom/_my_module.html.erb b/app/views/canvas/full_zoom/_my_module.html.erb index d27509810..1bdd3b8c3 100644 --- a/app/views/canvas/full_zoom/_my_module.html.erb +++ b/app/views/canvas/full_zoom/_my_module.html.erb @@ -88,7 +88,8 @@
  • - +
  • diff --git a/app/views/my_modules/_header.html.erb b/app/views/my_modules/_header.html.erb index 3d349533e..0e8a15b43 100644 --- a/app/views/my_modules/_header.html.erb +++ b/app/views/my_modules/_header.html.erb @@ -37,7 +37,7 @@ <% end %> " - href="<%= activities_my_module_url(@my_module) %>" + href="<%= activities_my_module_url(@my_module, view_mode: params[:view_mode]) %>" title="<%= t("nav2.modules.activities") %>" > <%= t("nav2.modules.activities") %>