View | Details | Raw Unified | Return to bug 18370
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-1 / +4 lines)
Lines 162-167 $(document).ready(function() { Link Here
162
162
163
    // Apply DataTables on the results table
163
    // Apply DataTables on the results table
164
    var columns_settings = [% ColumnsSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) %];
164
    var columns_settings = [% ColumnsSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) %];
165
    [% UNLESS CAN_user_tools_manage_patron_lists %]
166
        [%# Remove the first column if we do not display the checkbox %]
167
        columns_settings = columns_settings.slice(1, -1);
168
    [% END %]
165
    dtMemberResults = KohaTable("#memberresultst", {
169
    dtMemberResults = KohaTable("#memberresultst", {
166
        'bServerSide': true,
170
        'bServerSide': true,
167
        'sAjaxSource': "/cgi-bin/koha/svc/members/search",
171
        'sAjaxSource': "/cgi-bin/koha/svc/members/search",
168
- 

Return to bug 18370