Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1433 | Rev 1436 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1433 Rev 1434
Línea 115... Línea 115...
115
 
115
 
116
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
116
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
117
                    $order_direction = 'ASC';
117
                    $order_direction = 'ASC';
Línea -... Línea 118...
-
 
118
                }
-
 
119
 
-
 
120
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
-
 
121
                $allowDelete = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection-vacancies/forms/delete');
-
 
122
               
118
                }
123
                $allowEdit = $acl->isAllowed($currentUser->usertype_id, 'recruitment-and-selection-vacancies/forms/edit');
119
 
124
 
Línea 120... Línea 125...
120
                $recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);
125
                $recruitmentSelectionVacancyMapper = RecruitmentSelectionVacancyMapper::getInstance($this->adapter);
121
                $paginator = $recruitmentSelectionVacancyMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);
126
                $paginator = $recruitmentSelectionVacancyMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);