From 6bcd66dfb40ed0979ac30aa06174f0e33c8b8ba7 Mon Sep 17 00:00:00 2001 From: fgs21 <fgs21@inf.ufpr.br> Date: Fri, 13 Jun 2025 11:45:30 -0300 Subject: [PATCH] =?UTF-8?q?[hotfix]=20Fixing=20'N=C3=A3o=20=C3=A9=20Capita?= =?UTF-8?q?l'=20value=20in=20'Percentual=20de=20Estudantes=20que=20Recebem?= =?UTF-8?q?=20Bolsa=20Fam=C3=ADlia'=20indicator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libs/routes_v1/studentsReceivingAidTax.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libs/routes_v1/studentsReceivingAidTax.js b/src/libs/routes_v1/studentsReceivingAidTax.js index 16547bfd..2910f434 100644 --- a/src/libs/routes_v1/studentsReceivingAidTax.js +++ b/src/libs/routes_v1/studentsReceivingAidTax.js @@ -120,8 +120,6 @@ studentsReceivingAidTaxApp.get('/cap_code', (req, res, next) => { }); } } - req.result.push({id: 99, name: id2str.capitalCode(99)}); - next(); }, response('cap_code')); @@ -586,6 +584,9 @@ function whereCondition(req) { where += `pnad_novo.faixa_rendimento_aux_tx is not null`; } + if (dims && dims.includes("cap_code")){ + where += `pnad_novo.cod_cap <> 99`; + } return where; } -- GitLab