| Línea 93... |
Línea 93... |
| 93 |
|
93 |
|
| 94 |
if ($isJson) {
|
94 |
if ($isJson) {
|
| 95 |
$search = $this->params()->fromQuery('search', []);
|
95 |
$search = $this->params()->fromQuery('search', []);
|
| Línea 96... |
Línea 96... |
| 96 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
96 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
| 97 |
|
97 |
|
| - |
|
98 |
$start = intval($this->params()->fromQuery('start', 0), 10);
|
| - |
|
99 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
| - |
|
100 |
$page = intval($start / $records_x_page);
|
| 98 |
$page = intval($this->params()->fromQuery('start', 1), 10);
|
101 |
$page++;
|
| 99 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
102 |
|
| 100 |
$order = $this->params()->fromQuery('order', []);
|
103 |
$order = $this->params()->fromQuery('order', []);
|
| Línea 101... |
Línea 104... |
| 101 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|
104 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|