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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-2 / +2 lines)
Lines 125-131 Link Here
125
    [% INCLUDE 'columns_settings.inc' %]
125
    [% INCLUDE 'columns_settings.inc' %]
126
    <script>
126
    <script>
127
        $(document).ready(function() {
127
        $(document).ready(function() {
128
            columns_settings = [% TablesSettings.GetColumns( 'opac', 'course_items', 'course-items-table', 'json' ) | $raw %];
128
            table_settings = [% TablesSettings.GetTableSettings( 'opac', 'course_items', 'course-items-table', 'json' ) | $raw %];
129
            KohaTable("#course-items-table", {
129
            KohaTable("#course-items-table", {
130
                "dom": '<"top"<"table_controls"f>>t',
130
                "dom": '<"top"<"table_controls"f>>t',
131
                "sorting": [[ 1, "asc" ]],
131
                "sorting": [[ 1, "asc" ]],
Lines 139-145 Link Here
139
                "columnDefs": [
139
                "columnDefs": [
140
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
140
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
141
                ],
141
                ],
142
            }, columns_settings );
142
            }, table_settings );
143
        });
143
        });
144
    </script>
144
    </script>
145
[% END %]
145
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt (-3 / +2 lines)
Lines 74-80 Link Here
74
    [% INCLUDE 'columns_settings.inc' %]
74
    [% INCLUDE 'columns_settings.inc' %]
75
    <script>
75
    <script>
76
        $(document).ready(function() {
76
        $(document).ready(function() {
77
            columns_settings = [% TablesSettings.GetColumns( 'opac', 'course_list', 'course_reserves_table', 'json' ) | $raw %]
77
            table_settings = [% TablesSettings.GetTableSettings( 'opac', 'course_list', 'course_reserves_table', 'json' ) | $raw %]
78
            KohaTable("#course_reserves_table", {
78
            KohaTable("#course_reserves_table", {
79
                "dom": '<"top"<"table_controls"f>>rt<"clear">',
79
                "dom": '<"top"<"table_controls"f>>rt<"clear">',
80
                "sorting": [[ 1, "asc" ]],
80
                "sorting": [[ 1, "asc" ]],
Lines 91-97 Link Here
91
                "cColumnDefs": [
91
                "cColumnDefs": [
92
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
92
                    { "className": 'dtr-control', "orderable": false, "targets": -1 },
93
                ],
93
                ],
94
            }, columns_settings );
94
            }, table_settings );
95
        });
95
        });
96
    </script>
96
    </script>
97
[% END %]
97
[% END %]
98
- 

Return to bug 38594