Skip to content
Snippets Groups Projects
Commit e2f6ae8e authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

Merge branch 'development' into 'homologa'

[hotfix] Fixing 'Não é Capital' value in 'Percentual de Estudantes que Recebem...

See merge request !498
parents 10e8bd48 6bcd66df
No related branches found
No related tags found
3 merge requests!501[hotfix] capital filter working for superior education conclusion tax...,!499[hotfix] capital filter working for superior education conclusion tax...,!498[hotfix] Fixing 'Não é Capital' value in 'Percentual de Estudantes que Recebem...
...@@ -120,8 +120,6 @@ studentsReceivingAidTaxApp.get('/cap_code', (req, res, next) => { ...@@ -120,8 +120,6 @@ studentsReceivingAidTaxApp.get('/cap_code', (req, res, next) => {
}); });
} }
} }
req.result.push({id: 99, name: id2str.capitalCode(99)});
next(); next();
}, response('cap_code')); }, response('cap_code'));
...@@ -586,6 +584,9 @@ function whereCondition(req) { ...@@ -586,6 +584,9 @@ function whereCondition(req) {
where += `pnad_novo.faixa_rendimento_aux_tx is not null`; where += `pnad_novo.faixa_rendimento_aux_tx is not null`;
} }
if (dims && dims.includes("cap_code")){
where += `pnad_novo.cod_cap <> 99`;
}
return where; return where;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment