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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (-7 / +9 lines)
Lines 245-256 Link Here
245
            $("#patron_search_form").on('submit', function(){$("#searchheader").show();});
245
            $("#patron_search_form").on('submit', function(){$("#searchheader").show();});
246
            $("#clear_search").on("click",function(e){$("#searchheader").hide();});
246
            $("#clear_search").on("click",function(e){$("#searchheader").hide();});
247
247
248
            // Apply DataTables on the results table
249
            var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %];
250
            [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %]
251
                [%# Remove the first column if we do not display the checkbox %]
252
                table_settings.splice(0, 1);
253
            [% END %]
254
        });
248
        });
255
249
256
        function patronListAdd(){
250
        function patronListAdd(){
Lines 295-300 Link Here
295
289
296
    </script>
290
    </script>
297
291
292
    <script>
293
        // Apply DataTables on the results table
294
        var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %];
295
        [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %]
296
            [%# Remove the first column if we do not display the checkbox %]
297
            table_settings.splice(0, 1);
298
        [% END %]
299
    </script>
300
298
    [% IF circsearch == 1 %]
301
    [% IF circsearch == 1 %]
299
        [% SET redirect_url = '/cgi-bin/koha/circ/circulation.pl' %]
302
        [% SET redirect_url = '/cgi-bin/koha/circ/circulation.pl' %]
300
    [% ELSE %]
303
    [% ELSE %]
301
- 

Return to bug 30063