Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1232 Rev 1233
Línea 231... Línea 231...
231
        $prototype = new RecruitmentSelectionInterview();
231
        $prototype = new RecruitmentSelectionInterview();
232
        $select = $this->sql->select();
232
        $select = $this->sql->select();
233
        $select->columns(['uuid', 'company_id']);
233
        $select->columns(['uuid', 'company_id']);
234
        $select->from(['i' => self::_TABLE]);
234
        $select->from(['i' => self::_TABLE]);
235
        $select->join(['c' => RecruitmentSelectionCandidateMapper::_TABLE], "i.candidate_id = c.id", ['first_name']);
235
        $select->join(['c' => RecruitmentSelectionCandidateMapper::_TABLE], "i.candidate_id = c.id", ['first_name']);
236
        $select->where->equalTo('i.company_id', $companyId);
236
        $select->where->equalTo('i.company_id', $companyId); 
237
        echo $select->getSqlString($this->adapter->platform); exit;
-
 
Línea 238... Línea 237...
238
        
237
        
239
        if($search) {
238
        if($search) {
240
            $select->where->like('c.first_name', '%' . $search . '%');
239
            $select->where->like('c.first_name', '%' . $search . '%');
241
        }
240
        }