From 866cb4a2c9e9f1126a8347d3d1f77cfcc7cd399a Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 8 Oct 2019 14:05:49 +0200 Subject: [PATCH] Bug 23101: (follow-up) use NoSort class in datatable Signed-off-by: Martin Renvoize (cherry picked from commit 95c43ebe7206ee68711f5bc7d7b24b6a81d7ec81) Signed-off-by: Fridolin Somers (cherry picked from commit 7ce1fdc84715303cd3f205b9e47e93eab6168e5a) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index ca74941c60..001291fdb4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -354,7 +354,7 @@ Start date End date [% IF CAN_user_acquisition_contracts_manage %] - Actions + Actions [% END %] @@ -430,11 +430,7 @@ $(document).ready(function() { var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ - [% IF CAN_user_acquisition_contracts_manage %] - { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, - [% ELSE %] - { "bSortable": false, "bSearchable": false }, - [% END %] + { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, { "sType": "title-string", "aTargets" : [ "title-string" ] } ], 'sDom': 't' -- 2.39.5