From 6d0282c898a5dd7bd4346904cc0c2b77094cde49 Mon Sep 17 00:00:00 2001
From: Fernando Gbur <fgs21@inf.ufpr.br>
Date: Mon, 15 Jan 2024 09:36:48 -0300
Subject: [PATCH] [FIX] Illiteracy working as filter AND dimension

---
 src/libs/routes_v1/newPnad.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs/routes_v1/newPnad.js b/src/libs/routes_v1/newPnad.js
index fb6da4a8..2ecf21ea 100644
--- a/src/libs/routes_v1/newPnad.js
+++ b/src/libs/routes_v1/newPnad.js
@@ -89,7 +89,7 @@ rqf.addField({
         foreign: 'cod_uf',
         foreignTable: 'pnad_novo'
     }
-}).addValueToField({
+}).addValue({
     name: 'illiteracy',
     table: 'pnad_novo',
     tableField: 'anafalbetismo',
@@ -99,7 +99,7 @@ rqf.addField({
         type: 'integer',
         field: 'anafalbetismo'
     }
-}, 'dims').addValue({
+}).addValue({
     name: 'min_year',
     table: 'pnad_novo',
     tableField: 'ano_ref',
-- 
GitLab