Commit 4245e663 authored by mercury233's avatar mercury233

update default length

parent b2107651
Pipeline #4113 passed with stages
in 1 minute and 42 seconds
...@@ -313,6 +313,7 @@ ...@@ -313,6 +313,7 @@
deckTable = $("#deck").DataTable({ deckTable = $("#deck").DataTable({
data: processData, data: processData,
pageLength: 25,
order: [[2, "desc"]], order: [[2, "desc"]],
"ordering": true, "ordering": true,
columns: [ columns: [
...@@ -351,6 +352,7 @@ ...@@ -351,6 +352,7 @@
var table = $(tableID).DataTable({ var table = $(tableID).DataTable({
data: processData, data: processData,
pageLength: 50,
order: [[2, "desc"]], order: [[2, "desc"]],
"ordering": true, "ordering": true,
columns: [ columns: [
......
...@@ -701,7 +701,7 @@ ...@@ -701,7 +701,7 @@
paging: true, paging: true,
searching: false, searching: false,
ordering: false, ordering: false,
pageLength: 10, pageLength: 25,
lengthChange: false, lengthChange: false,
info: false, info: false,
data: processData, data: processData,
......
...@@ -169,6 +169,7 @@ ...@@ -169,6 +169,7 @@
}); });
var table = $('#exp_table').DataTable({ var table = $('#exp_table').DataTable({
data: processData, data: processData,
pageLength: 25,
order: [[0, "asc"]], order: [[0, "asc"]],
"ordering": true, "ordering": true,
columns: [ columns: [
...@@ -207,6 +208,7 @@ ...@@ -207,6 +208,7 @@
}); });
var table = $('#pt_table').DataTable({ var table = $('#pt_table').DataTable({
data: processData, data: processData,
pageLength: 25,
order: [[0, "asc"]], order: [[0, "asc"]],
"ordering": true, "ordering": true,
columns: [ columns: [
......
...@@ -310,6 +310,7 @@ ...@@ -310,6 +310,7 @@
}); });
var table = $(id).DataTable({ var table = $(id).DataTable({
paging: true, paging: true,
pageLength: 25,
searching: false, searching: false,
ordering: false, ordering: false,
lengthChange: false, lengthChange: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment