Línea 138... |
Línea 138... |
138 |
$allowGoals = $acl->isAllowed($currentUser->usertype_id, 'planning-objectives-and-goals/objectives/goals/task');
|
138 |
$allowGoals = $acl->isAllowed($currentUser->usertype_id, 'planning-objectives-and-goals/objectives/goals/task');
|
Línea 139... |
Línea 139... |
139 |
|
139 |
|
140 |
$search = $this->params()->fromQuery('search', []);
|
140 |
$search = $this->params()->fromQuery('search', []);
|
Línea 141... |
Línea -... |
141 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
- |
|
142 |
|
141 |
$search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
|
- |
|
142 |
|
143 |
$page = (intval($this->params()->fromQuery('start', 1), 10)/10)+1;
|
143 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
144 |
$records_x_page = intval($this->params()->fromQuery('length', 10), 10);
|
144 |
$page = (intval($this->params()->fromQuery('start', 1), 10)/$records_x_page)+1;
|
145 |
$order = $this->params()->fromQuery('order', []);
|
145 |
$order = $this->params()->fromQuery('order', []);
|
Línea 146... |
Línea 146... |
146 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|
146 |
$order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
|