From 7ce1fdc84715303cd3f205b9e47e93eab6168e5a 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 --- 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 47414e8638..88dede5a0c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -352,7 +352,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