Skip to content
Snippets Groups Projects
Commit 28de816c authored by Valentin Groues's avatar Valentin Groues :eyes:
Browse files

default number of subjects set to 25 in subjects table - fixes #103

parent 1af81abe
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -109,6 +109,8 @@ ...@@ -109,6 +109,8 @@
$(function () { $(function () {
var table = $('#table').DataTable({ var table = $('#table').DataTable({
pageLength: 25,
stateSave: true,
serverSide: true, serverSide: true,
processing: true, processing: true,
ajax: "{% url 'web.api.subjects' list_type %}", ajax: "{% url 'web.api.subjects' list_type %}",
...@@ -122,7 +124,7 @@ ...@@ -122,7 +124,7 @@
{"data": "resigned"}, {"data": "resigned"},
{"data": "postponed"}, {"data": "postponed"},
{"data": "information_sent"}, {"data": "information_sent"},
{"data": null}, {"data": null}
], ],
columnDefs: [{ columnDefs: [{
"targets": 9, "targets": 9,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment