mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14:46:27 +02:00
move received listing to serverside processing
This commit is contained in:
parent
170a00e30a
commit
651c428ed7
6 changed files with 116 additions and 57 deletions
|
@ -87,9 +87,9 @@ jQuery(document).ready(function ()
|
|||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
}],
|
||||
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
'url': '<?php echo $is_unread ? \descartes\Router::url('Received', 'list_unread_json') : \descartes\Router::url('Received', 'list_json'); ?>',
|
||||
'url': '<?php echo $is_unread ? \descartes\Router::url('Received', 'list_json', ['unread' => true]) : \descartes\Router::url('Received', 'list_json'); ?>',
|
||||
'dataSrc': 'data',
|
||||
},
|
||||
"columns" : [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue