Skip to content
Snippets Groups Projects

Merge new updates into master

1 file
+ 9
4
Compare changes
  • Side-by-side
  • Inline
+ 9
4
@@ -103,7 +103,7 @@ rqf.addField({
@@ -103,7 +103,7 @@ rqf.addField({
foreignTable: 'numero_estudantes_aee'
foreignTable: 'numero_estudantes_aee'
}
}
}, 'filter').addValue({
}, 'filter').addValue({
name: 'region',
name: 'region', // working
table: 'regiao',
table: 'regiao',
tableField: ['nome', 'id'],
tableField: ['nome', 'id'],
resultField: ['region_name', 'region_id'],
resultField: ['region_name', 'region_id'],
@@ -119,14 +119,19 @@ rqf.addField({
@@ -119,14 +119,19 @@ rqf.addField({
}
}
}).addValueToField({
}).addValueToField({
name: 'school',
name: 'school',
table: 'numero_estudantes_aee',
table: 'escola',
tableField: 'escola_id',
tableField: ['nome_escola', 'id'],
resultField: 'school_id',
resultField: ['school_name', 'school_id'],
where: {
where: {
relation: '=',
relation: '=',
type: 'integer',
type: 'integer',
field: 'id'
field: 'id'
},
},
 
join: {
 
primary: ['id', 'ano_censo'],
 
foreign: ['escola_id', 'ano_censo'],
 
foreignTable: 'numero_estudantes_aee'
 
}
}, 'filter').addValueToField({
}, 'filter').addValueToField({
name: 'locale_id', // working
name: 'locale_id', // working
table: 'numero_estudantes_aee',
table: 'numero_estudantes_aee',
Loading