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

[FIX] Still trying to fix the state filter

parent e1542e60
No related branches found
No related tags found
3 merge requests!391Hom -> Prod,!386Merge development -> homologa,!383FIrst deploy of new route 'new_pnad'
...@@ -57,7 +57,7 @@ rqf.addField({ ...@@ -57,7 +57,7 @@ rqf.addField({
type: 'integer', type: 'integer',
field: 'id' field: 'id'
} }
}).addValue({ }).addValueToField({
name: 'state', name: 'state',
table: 'estado', table: 'estado',
tableField: ['nome', 'id'], tableField: ['nome', 'id'],
...@@ -72,7 +72,7 @@ rqf.addField({ ...@@ -72,7 +72,7 @@ rqf.addField({
foreign: 'cod_uf', foreign: 'cod_uf',
foreignTable: 'pnad_novo' foreignTable: 'pnad_novo'
} }
}).addValue({ }, 'filter').addValue({
name: 'state_not', name: 'state_not',
table: 'estado', table: 'estado',
tableField: ['nome', 'id'], tableField: ['nome', 'id'],
...@@ -189,10 +189,10 @@ rqf.addField({ ...@@ -189,10 +189,10 @@ rqf.addField({
field: 'faixa_rendimento' field: 'faixa_rendimento'
} }
}).addValue({ }).addValue({
name: 'sex', name: 'gender',
table: 'pnad_novo', table: 'pnad_novo',
tableField: 'sexo', tableField: 'sexo',
resultField: 'sex', resultField: 'gender',
where: { where: {
relation: '=', relation: '=',
type: 'integer', type: 'integer',
......
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