Commit 1cfb9daa85ceb271effceb4b1a25f3b868a9dbb4
Exists in
master
Merge branch 'fix-turmas-alocado-professor'
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ieducar/lib/Portabilis/Business/Professor.php
... | ... | @@ -84,7 +84,7 @@ class Portabilis_Business_Professor { |
84 | 84 | $sql = "select cod_turma as id, nm_turma as nome from pmieducar.turma where ref_ref_cod_escola = $1 |
85 | 85 | and (ref_ref_cod_serie = $2 or ref_ref_cod_serie_mult = $2) and ativo = 1 and |
86 | 86 | visivel != 'f' and turma_turno_id in ( select periodo from servidor_alocacao where |
87 | - ref_cod_escola = ref_ref_cod_escola and ref_cod_servidor = $3 and ativo = 1 limit 1) | |
87 | + ref_cod_escola = ref_ref_cod_escola and ref_cod_servidor = $3 and ativo = 1) | |
88 | 88 | order by nm_turma asc"; |
89 | 89 | |
90 | 90 | return self::fetchPreparedQuery($sql, array('params' => array($escolaId, $serieId, $userId))); | ... | ... |