Skip to content
Snippets Groups Projects
Commit df93725f authored by Rudolf Copi Eckelberg's avatar Rudolf Copi Eckelberg
Browse files

Fixed escola query to match technical sheet

parent 8397b87a
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!57Fixed escola query to match technical sheet
Pipeline #
......@@ -857,7 +857,7 @@ schoolApp.get('/count', rqfCount.parse(), rqfCount.build(), (req, res, next) =>
.field('escola.ano_censo', 'year')
.group('escola.ano_censo')
.order('escola.ano_censo')
.where('escola.situacao_de_funcionamento = 1 AND escola.ensino_regular = 1');
.where('escola.situacao_de_funcionamento = 1 AND (escola.ensino_regular = 1 OR escola.ensino_eja=1 or escola.educacao_profissional=1)');
next();
}, query, id2str.transform(true), response('school'));
......
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