Skip to content
Snippets Groups Projects
Commit 8f974b1e authored by jpko19's avatar jpko19
Browse files

Update filters(2)

parent e398b60a
No related branches found
No related tags found
3 merge requests!329Update enrollment - new filters,!324Dev,!309Merge new updates into master
......@@ -572,9 +572,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => {
.group('docente.ano_censo')
.order('docente.ano_censo')
.where('tipo_turma_atendimento_id <= 2 AND (docente.tipo_docente = 1 OR docente.tipo_docente = 5) AND \
((docente.tipo_turma_id >= 0 AND docente.tipo_turma_id <= 3 AND docente.tipo_turma_atendimento_id is NULL) \
OR ((docente.tipo_turma_atendimento_id = 1 OR docente.tipo_turma_atendimento_id = 2) AND docente.tipo_turma_id is NULL)) AND \
etapas_mod_ensino_segmento_id <> 6 AND etapas_mod_ensino_segmento_id <> 12');
(etapas_mod_ensino_segmento_id <> 6 AND etapas_mod_ensino_segmento_id <> 12)');
}
next();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment