Commit 6d56f8c855c00cd25321eba43e56388b861ecc19
1 parent
b4cf95a2
Exists in
master
Corrigido pesquisa de alunos e cep
Showing
2 changed files
with
10 additions
and
6 deletions
Show diff stats
ieducar/intranet/educar_pesquisa_aluno.php
| ... | ... | @@ -130,8 +130,8 @@ class indice extends clsListagem |
| 130 | 130 | null, |
| 131 | 131 | null, |
| 132 | 132 | null, |
| 133 | - null | |
| 134 | -// $this->ref_cod_escola | |
| 133 | + null, | |
| 134 | + $this->ref_cod_escola | |
| 135 | 135 | ); |
| 136 | 136 | |
| 137 | 137 | $total = $obj_aluno->_total; |
| ... | ... | @@ -184,4 +184,4 @@ function fecha() |
| 184 | 184 | window.parent.document.forms[0].submit(); |
| 185 | 185 | } |
| 186 | 186 | } |
| 187 | -</script> | |
| 188 | 187 | \ No newline at end of file |
| 188 | +</script> | ... | ... |
ieducar/intranet/educar_pesquisa_cep_log_bairro.php
| ... | ... | @@ -115,14 +115,18 @@ class miolo1 extends clsListagem |
| 115 | 115 | foreach ($lst_uf as $uf) { |
| 116 | 116 | $array_uf[$uf['sigla_uf']] = $uf['nome']; |
| 117 | 117 | } |
| 118 | - | |
| 119 | 118 | if (! $_GET['ref_sigla_uf']) { |
| 120 | 119 | $_GET['ref_sigla_uf'] = $coreExt['Config']->app->locale->province; |
| 121 | 120 | } |
| 122 | - | |
| 123 | - $this->campoLista('ref_sigla_uf', 'UF', $array_uf, $_GET['ref_sigla_uf'], | |
| 121 | + /* Portabilis: Foi comentada a linha abaixo e adicionado 'SC' no lugar de $_GET['ref_sigla_uf'], | |
| 122 | + para trazer o estado como defaut */ | |
| 123 | + /*$this->campoLista('ref_sigla_uf', 'UF', $array_uf, $_GET['ref_sigla_uf'], | |
| 124 | + '', FALSE, '');*/ | |
| 125 | + | |
| 126 | + $this->campoLista('ref_sigla_uf', 'UF', $array_uf, 'SC', | |
| 124 | 127 | '', FALSE, ''); |
| 125 | 128 | |
| 129 | + | |
| 126 | 130 | $this->addCabecalhos(array('Bairro', 'CEP', 'Logradouro', 'UF', 'Cidade')); |
| 127 | 131 | |
| 128 | 132 | $select = ' | ... | ... |