Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 5620 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5620 Rev 5621
Línea 109... Línea 109...
109
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
109
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
110
                    $order_direction = 'ASC';
110
                    $order_direction = 'ASC';
111
                }
111
                }
Línea 112... Línea 112...
112
 
112
 
113
                $surveyTestMapper = SurveyTestMapper::getInstance($this->adapter);
-
 
114
                return new JsonModel([
-
 
115
                    'success' => false,
-
 
116
                    'data' => 'test'
-
 
117
                ]);
113
                $surveyTestMapper = SurveyTestMapper::getInstance($this->adapter);
Línea 118... Línea 114...
118
                $paginator = $surveyTestMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);
114
                $paginator = $surveyTestMapper->fetchAllDataTableByCompanyId($currentCompany->id, $search, $page, $records_x_page, $order_field, $order_direction);
119
 
115