From 31131816ffc440d58bcb2cc035b9593040d815bb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 May 2017 12:37:24 -0300 Subject: [PATCH] Bug 18370: Use splice instead of splice Signed-off-by: Julian Maurice Signed-off-by: Kyle M Hall (cherry picked from commit ec822b855244cacf36757e9028779ad9d270c370) Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index f353362e63..6c35a9b4cb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -163,7 +163,7 @@ $(document).ready(function() { var columns_settings = [% ColumnsSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) %]; [% UNLESS CAN_user_tools_manage_patron_lists %] [%# Remove the first column if we do not display the checkbox %] - columns_settings = columns_settings.slice(1, -1); + columns_settings.splice(0, 1); [% END %] dtMemberResults = KohaTable("#memberresultst", { 'bServerSide': true, -- 2.39.5