Skip to content
Snippets Groups Projects

Merge new updates into master

Merged Pietro Cavassin requested to merge new_updates into master
1 file
+ 5
6
Compare changes
  • Side-by-side
  • Inline
@@ -71,8 +71,8 @@ rqf.addField({
@@ -71,8 +71,8 @@ rqf.addField({
name: 'dims',
name: 'dims',
field: true,
field: true,
where: false
where: false
}).addValueToField({ // working
}).addValueToField({
name: 'state',
name: 'state', // working
table: 'estado',
table: 'estado',
tableField: ['sigla', 'id'],
tableField: ['sigla', 'id'],
resultField: ['sigla_uf', 'cod_uf'],
resultField: ['sigla_uf', 'cod_uf'],
@@ -88,7 +88,7 @@ rqf.addField({
@@ -88,7 +88,7 @@ rqf.addField({
foreignTable: 'numero_estudantes_aee'
foreignTable: 'numero_estudantes_aee'
}
}
}, 'filter').addValueToField({
}, 'filter').addValueToField({
name: 'city',
name: 'city', // working
table: 'municipio',
table: 'municipio',
tableField: ['nome', 'id'],
tableField: ['nome', 'id'],
resultField: ['city_name', 'city_id'],
resultField: ['city_name', 'city_id'],
@@ -106,12 +106,11 @@ rqf.addField({
@@ -106,12 +106,11 @@ rqf.addField({
name: 'region',
name: 'region',
table: 'regiao',
table: 'regiao',
tableField: ['nome', 'id'],
tableField: ['nome', 'id'],
resultField: ['region_name', 'regiao_id'],
resultField: ['region_name', 'region_id'],
where: {
where: {
relation: '=',
relation: '=',
type: 'integer',
type: 'integer',
field: 'id',
field: 'id'
table: 'numero_estudantes_aee'
},
},
join: {
join: {
primary: 'id',
primary: 'id',
Loading