Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15686 Rev 15687
Línea 90... Línea 90...
90
 
90
 
91
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
91
                if (!in_array($order_direction, ['ASC', 'DESC'])) {
92
                    $order_direction = 'ASC';
92
                    $order_direction = 'ASC';
Línea -... Línea 93...
-
 
93
                }
93
                }
94
 
94
 
95
 
95
                //Quede aqui en el mapper
96
                //Quede aqui en el mapper
-
 
97
                $discoveryContactMapper = DiscoveryContactLogMapper::getInstance($this->adapter);
-
 
98
                $paginator = $discoveryContactMapper->fetchAllDataTableForCompanyIdAndContactId($currentCompany->id, $currentUser->id,  $page, $records_x_page);
-
 
99
                return new JsonModel([
-
 
100
                    'success' => true,
96
                $discoveryContactMapper = DiscoveryContactLogMapper::getInstance($this->adapter);
101
                    'paginator' => $paginator
97
                $paginator = $discoveryContactMapper->fetchAllDataTableForCompanyIdAndContactId($currentCompany->id, $currentUser->id,  $page, $records_x_page);
102
                ]);
Línea 98... Línea 103...
98
            } else {
103
            } else {
99
            }
104
            }
100
 
105
 
101
 
106
 
102
            return new JsonModel([
107
            return new JsonModel([
103
                'success' => true,
108
                'success' => true,
104
                'paginator' => $paginator
109
                'message' => $currentUser
105
            ]);
110
            ]);