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:
parent
0a2b14dd16
commit
ec822b8552
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue