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 113-119 Link Here
113
    $(document).ready(function() {
113
    $(document).ready(function() {
114
        columns_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'course-items-table', 'json' ) | $raw %];
114
        columns_settings = [% TablesSettings.GetColumns( 'opac', 'biblio-detail', 'course-items-table', 'json' ) | $raw %];
115
        KohaTable("#course-items-table", {
115
        KohaTable("#course-items-table", {
116
            "dom": '<"top"flp>rt<"clear">',
116
            "dom": '<"top"f>rt<"clear">',
117
            "sorting": [[ 1, "asc" ]],
117
            "sorting": [[ 1, "asc" ]],
118
            "autoWidth": false,
118
            "autoWidth": false,
119
        }, columns_settings );
119
        }, 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