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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt (-1 / +1 lines)
Lines 122-128 Link Here
122
        $(document).ready(function() {
122
        $(document).ready(function() {
123
            columns_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'course-items-table', 'json' ) | $raw %];
123
            columns_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'course-items-table', 'json' ) | $raw %];
124
            KohaTable("#course-items-table", {
124
            KohaTable("#course-items-table", {
125
                "dom": '<"top"flp>rt<"clear">',
125
                "dom": '<"top"f>rt<"clear">',
126
                "sorting": [[ 1, "asc" ]],
126
                "sorting": [[ 1, "asc" ]],
127
                "autoWidth": false,
127
                "autoWidth": false,
128
            }, columns_settings );
128
            }, columns_settings );
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js (-3 / +1 lines)
Lines 31-36 var dataTablesDefaults = { Link Here
31
        }
31
        }
32
    },
32
    },
33
    "dom": 't',
33
    "dom": 't',
34
    "paginate": false,
34
    "buttons": [{
35
    "buttons": [{
35
        fade: 100,
36
        fade: 100,
36
        className: "dt_button_clear_filter",
37
        className: "dt_button_clear_filter",
Lines 48-55 var dataTablesDefaults = { Link Here
48
            node.addClass("disabled");
49
            node.addClass("disabled");
49
        }
50
        }
50
    }],
51
    }],
51
    "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, window.MSG_DT_ALL || "All" ]],
52
    "iDisplayLength": 20,
53
    initComplete: function( settings) {
52
    initComplete: function( settings) {
54
        var tableId = settings.nTable.id
53
        var tableId = settings.nTable.id
55
        // When the DataTables search function is triggered,
54
        // When the DataTables search function is triggered,
56
- 

Return to bug 26262