Commit cd85971ed8c30c9ce1d87319af053839eb64410b
1 parent
0f8809cb
Exists in
2.8
and in
7 other branches
Corrige campo ambíguo na consulta
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ieducar/intranet/include/pmieducar/clsPmieducarAluno.inc.php
... | ... | @@ -988,7 +988,7 @@ class clsPmieducarAluno |
988 | 988 | $filtros = ''; |
989 | 989 | $this->resetCamposLista(); |
990 | 990 | |
991 | - $this->_campos_lista .= ', pessoa.nome AS nome_aluno, fisica.nome_social, COALESCE(nome_social, nome) AS ordem_aluno'; | |
991 | + $this->_campos_lista .= ', pessoa.nome AS nome_aluno, fisica.nome_social, COALESCE(nome_social, pessoa.nome) AS ordem_aluno'; | |
992 | 992 | |
993 | 993 | if($filtra_baseado_matricula) |
994 | 994 | $sql = "SELECT distinct {$this->_campos_lista} FROM {$this->_tabela} INNER JOIN pmieducar.matricula m ON (m.ref_cod_aluno = a.cod_aluno) "; | ... | ... |