From bba9570228a2dfed4e3a3cb11f61e76ac096157c Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 28 Feb 2023 11:36:27 +0100 Subject: [PATCH] Fix protocol duplication in table [SCI-7990] --- app/datatables/protocols_datatable.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/datatables/protocols_datatable.rb b/app/datatables/protocols_datatable.rb index 72f1b874b..3efc0e9b6 100644 --- a/app/datatables/protocols_datatable.rb +++ b/app/datatables/protocols_datatable.rb @@ -89,7 +89,8 @@ class ProtocolsDatatable < CustomDatatable { DT_RowId: record.id, DT_RowAttr: { - 'data-permissions-url': permissions_protocol_path(record) + 'data-permissions-url': permissions_protocol_path(record), + 'data-clone-url': clone_protocol_path(record) }, '1': name_html(record), '2': record.code,