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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-6 / +8 lines)
Lines 127-139 Link Here
127
127
128
[% MACRO jsinclude BLOCK %]
128
[% MACRO jsinclude BLOCK %]
129
    [% INCLUDE 'datatables.inc' %]
129
    [% INCLUDE 'datatables.inc' %]
130
    <script>
131
        var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %];
132
        [% UNLESS show_patron_column %]
133
            // Remove the patron column definition
134
            table_settings['columns'].splice(0,1);
135
        [% END %]
136
    </script>
137
130
    <script>
138
    <script>
131
        $(document).ready(function() {
139
        $(document).ready(function() {
132
            var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %];
133
            [% UNLESS show_patron_column %]
134
                // Remove the patron column definition
135
                table_settings['columns'].splice(0,1);
136
            [% END %]
137
            var table = $("#table_issues").kohaTable(
140
            var table = $("#table_issues").kohaTable(
138
                {
141
                {
139
                    dom: 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
142
                    dom: 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
140
- 

Return to bug 41566