Skip to content
Snippets Groups Projects
Commit b9afc5f4 authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

Remove tipo_turma_atendimento_id from filter - disciplines.js

parent 473e72b1
No related branches found
No related tags found
3 merge requests!329Update enrollment - new filters,!324Dev,!309Merge new updates into master
...@@ -530,7 +530,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => { ...@@ -530,7 +530,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => {
.from('docente') .from('docente')
.group('docente.ano_censo') .group('docente.ano_censo')
.order('docente.ano_censo') .order('docente.ano_censo')
.where('docente.tipo_turma_atendimento_id <= 2 AND (docente.tipo_docente = 1 OR docente.tipo_docente = 5) AND \ .where('(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) \ ((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 \ OR ((docente.tipo_turma_atendimento_id = 1 OR docente.tipo_turma_atendimento_id = 2) AND docente.tipo_turma_id is NULL)) AND \
docente.etapas_mod_ensino_segmento_id <> 6 AND docente.etapas_mod_ensino_segmento_id <> 12'); docente.etapas_mod_ensino_segmento_id <> 6 AND docente.etapas_mod_ensino_segmento_id <> 12');
......
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