mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 01:16:26 +02:00
add server side computing for event listing + fix ordering for some entities
This commit is contained in:
parent
8e43c53498
commit
85095ef995
8 changed files with 108 additions and 5 deletions
|
@ -77,7 +77,7 @@ jQuery(document).ready(function ()
|
|||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
}],
|
||||
|
||||
"order": [[2, "desc"]],
|
||||
"ajax": {
|
||||
'url': '<?php echo \descartes\Router::url('Call', 'list_json'); ?>',
|
||||
'dataSrc': 'data',
|
||||
|
|
|
@ -68,6 +68,7 @@ jQuery(document).ready(function ()
|
|||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"order": [[0, "desc"]],
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
|
|
|
@ -75,11 +75,13 @@ jQuery(document).ready(function ()
|
|||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"orderMulti": false,
|
||||
"order": [[1, "desc"]],
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
}],
|
||||
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
'url': '<?php echo \descartes\Router::url('Event', 'list_json'); ?>',
|
||||
'dataSrc': 'data',
|
||||
|
|
|
@ -84,6 +84,7 @@ jQuery(document).ready(function ()
|
|||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"orderMulti": false,
|
||||
"order": [[3, "desc"]],
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
|
|
|
@ -74,6 +74,7 @@ jQuery(document).ready(function ()
|
|||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"orderMulti": false,
|
||||
"order": [[3, "desc"]],
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue