Skip to content
Snippets Groups Projects
Commit 39e30a2c authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix portal mec inep name

parent d4df694d
No related branches found
No related tags found
1 merge request!155Release v1.7.0
Pipeline #17259 failed
......@@ -46,14 +46,13 @@ rqf.addField({
portalMecInepApp.get('/', rqf.parse(), (req, res, next) => {
req.sql.field('DISTINCT escola.id', 'id')
.field('escola.nome_escola', 'school_name')
.field('escola.nome_escola', 'name')
.from('escola')
.join('estado', null, 'estado.id=escola.estado_id')
.field('estado.nome', 'state_name')
.join('municipio', null, 'municipio.id=escola.municipio_id')
.field('municipio.nome', 'city_name')
next();
}, rqf.build(), query, response('portalMec_inep'));
......
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