Skip to content
Snippets Groups Projects
Commit e728b216 authored by João Kieras's avatar João Kieras
Browse files

Update filter region (test)

parent a454dfaa
No related branches found
No related tags found
4 merge requests!335Homologa,!334Dev,!331Issue 752 aee,!309Merge new updates into master
......@@ -71,8 +71,8 @@ rqf.addField({
name: 'dims',
field: true,
where: false
}).addValueToField({ // working
name: 'state',
}).addValueToField({
name: 'state', // working
table: 'estado',
tableField: ['sigla', 'id'],
resultField: ['sigla_uf', 'cod_uf'],
......@@ -88,7 +88,7 @@ rqf.addField({
foreignTable: 'numero_estudantes_aee'
}
}, 'filter').addValueToField({
name: 'city',
name: 'city', // working
table: 'municipio',
tableField: ['nome', 'id'],
resultField: ['city_name', 'city_id'],
......@@ -106,12 +106,11 @@ rqf.addField({
name: 'region',
table: 'regiao',
tableField: ['nome', 'id'],
resultField: ['region_name', 'regiao_id'],
resultField: ['region_name', 'region_id'],
where: {
relation: '=',
type: 'integer',
field: 'id',
table: 'numero_estudantes_aee'
field: 'id'
},
join: {
primary: 'id',
......
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