From 7cdd980ef0be2bbae50903ff57436d0b88043acc 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 --- 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 c9e183072b..faf13d1c0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -164,7 +164,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.11.0