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

[hotfix] matriculas 2021 a 2023 indicator city hotfix

parent 11142f55
No related branches found
No related tags found
1 merge request!495[hotfix] matriculas 2021 a 2023 indicator city hotfix
......@@ -392,7 +392,7 @@ rqf.addField({
foreign: 'estado_id',
foreignTable: 'escola'
}
}, 'filter').addValueToField({
}, 'filter').addValue({
name: 'city',
table: 'municipio',
tableField: ['nome', 'id'],
......@@ -402,29 +402,13 @@ rqf.addField({
type: 'integer',
field: 'municipio_id',
table: 'escola'
},
join: {
primary: 'id',
foreign: 'municipio_id',
foreignTable: 'escola'
}
}, 'dims').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({
}).addValueToField({
name: 'school',
table: 'escola',
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