From e7ab30fbd57fa7608eb717b29d1d9d07ca2b50c4 Mon Sep 17 00:00:00 2001 From: wandji Date: Fri, 21 Jul 2023 13:10:59 +0100 Subject: [PATCH] Update project link in template protocol linked experiments modal [SCI-8913] (#5837) --- app/datatables/protocol_linked_children_datatable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/datatables/protocol_linked_children_datatable.rb b/app/datatables/protocol_linked_children_datatable.rb index 4459eda06..9e4dd68b0 100644 --- a/app/datatables/protocol_linked_children_datatable.rb +++ b/app/datatables/protocol_linked_children_datatable.rb @@ -60,7 +60,7 @@ class ProtocolLinkedChildrenDatatable < CustomDatatable res += "
  •  " res += @controller.render_to_string( partial: 'search/results/partials/project_text', - locals: { project: record.my_module.experiment.project }, + locals: { project: record.my_module.experiment.project, link_to_page: :show }, formats: :html ) res += '
  • '