Proyectos de Subversion LeadersLinked - Backend

Rev

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

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