Bug 18370: Use splice instead of splice

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2017-05-11 12:37:24 -03:00 committed by Kyle M Hall
parent 0a2b14dd16
commit ec822b8552

View file

@ -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,