Línea 107... |
Línea 107... |
107 |
$allowView = $acl->isAllowed($currentUser->usertype_id, 'planning-objectives-and-goals/objectives/goals/task/view');
|
107 |
$allowView = $acl->isAllowed($currentUser->usertype_id, 'planning-objectives-and-goals/objectives/goals/task/view');
|
Línea 108... |
Línea 108... |
108 |
|
108 |
|
109 |
$search = $this->params()->fromQuery('search', []);
|
109 |
$search = $this->params()->fromQuery('search', []);
|
Línea 110... |
Línea -... |
110 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
- |
|
111 |
|
110 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
- |
|
111 |
|
112 |
$page = (intval($this->params()->fromQuery('start', 1), 10)/10)+1;
|
112 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
113 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
113 |
$page = (intval($this->params()->fromQuery('start', 1), 10)/$records_x_page)+1;
|
114 |
$order = $this->params()->fromQuery('order', []);
|
114 |
$order = $this->params()->fromQuery('order', []);
|
Línea 115... |
Línea 115... |
115 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|
115 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|