diff --git a/layouts/index.html b/layouts/index.html index d747e4e..58886e6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -158,7 +158,7 @@ var table = $('#collections').DataTable({ "sDom": '<"top row"<"col-md"i>>rt<"bottom row"<"col-md"l><"col-md"p>><"clear">', - "columnDefs": [{ "orderable": false, "targets": [2, 3] }, + "columnDefs": [{ "orderable": false, "targets": [2, 3, 4] }, {"targets": [0,5], "visible": false}], "language": { "lengthMenu": "Show _MENU_ collections per page", @@ -198,7 +198,8 @@ // Add category name to the . NOTE: Hardcoded colspan return $('') - .append(' ' + group + ' (' + rows.count() + '):') + // .append(' ' + group + ' (' + rows.count() + '):') // with the count but it's wrong because of pagination + .append(' ' + group + ':') .attr('data-name', all) .toggleClass('collapsed', collapsed); }