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

Merge branch 'development' of gitlab.c3sl.ufpr.br:simcaq/simcaq-node into development

parents 320f7eaf a42c1506
Branches
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...,!497[hotfix] Removing some console.log() and fixing 'population out of school'...
...@@ -393,7 +393,7 @@ rqf.addField({ ...@@ -393,7 +393,7 @@ rqf.addField({
foreign: 'estado_id', foreign: 'estado_id',
foreignTable: 'escola' foreignTable: 'escola'
} }
}, 'filter').addValueToField({ }, 'filter').addValue({
name: 'city', name: 'city',
table: 'municipio', table: 'municipio',
tableField: ['nome', 'id'], tableField: ['nome', 'id'],
...@@ -409,22 +409,7 @@ rqf.addField({ ...@@ -409,22 +409,7 @@ rqf.addField({
foreign: 'municipio_id', foreign: 'municipio_id',
foreignTable: 'escola' foreignTable: 'escola'
} }
}, 'dims').addValueToField({ }).addValueToField({
name: 'city',
table: 'municipio',
tableField: 'nome',
resultField: 'city_name',
where: {
relation: '=',
type: 'integer',
field: 'id'
},
join: {
primary: 'id',
foreign: 'municipio_id',
foreignTable: 'escola'
}
}, 'filter').addValueToField({
name: 'school', name: 'school',
table: 'escola', table: 'escola',
tableField: ['nome_escola', 'id'], tableField: ['nome_escola', 'id'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment