Skip to content
Snippets Groups Projects
Commit a711fd50 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Merge remote-tracking branch 'origin/v1.11.10'

parents 28024223 d69d6bc2
No related branches found
No related tags found
1 merge request!228[v1.11.10]Updated CHANGELOG
Pipeline #21335 failed
......@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## 1.11.10 - 2019-08-23
## Changed
- Removed year limitation
- Updated existing variables
## 1.11.9 - 2019-07-25
## Changed
- Course count order fix
......
......@@ -46,8 +46,7 @@ let rqf = new ReqQueryFields();
universityEnrollmentApp.get('/years', (req, res, next) => {
req.sql.from('aluno_ens_superior')
.field('DISTINCT aluno_ens_superior.ano_censo', 'year')
.where('aluno_ens_superior.ano_censo = 2017');
.field('DISTINCT aluno_ens_superior.ano_censo', 'year');
next();
}, query, response('years'));
......@@ -324,13 +323,13 @@ rqf.addField({
}).addValue({
name: 'upper_adm_dependency',
table: 'aluno_ens_superior',
tableField: 'cod_categoria_administrativa',
tableField: 'par_categoria_administrativa',
resultField: 'upper_adm_dependency_id',
where: {
relation: '=',
type: 'integer',
table: 'aluno_ens_superior',
field: 'cod_categoria_administrativa'
field: 'par_categoria_administrativa'
}
}).addValue({
name: 'academic_organization',
......@@ -406,32 +405,32 @@ rqf.addField({
}).addValue({
name:'ethnic_group_ies',
table: 'aluno_ens_superior',
tableField: 'cod_cor_raca_aluno',
tableField: 'par_cod_cor_raca_aluno',
resultField: 'ethnic_group_ies_id',
where: {
relation: '=',
type: 'integer',
field: 'cod_cor_raca_aluno'
field: 'par_cod_cor_raca_aluno'
}
}).addValue({
name:'student_deficiency',
table: 'aluno_ens_superior',
tableField: 'aluno_deficiencia_transtorno_superdotacao',
tableField: 'par_aluno_deficiencia_transtorno_superdotacao',
resultField: 'student_deficiency_id',
where: {
relation: '=',
type: 'integer',
field: 'aluno_deficiencia_transtorno_superdotacao'
field: 'par_aluno_deficiencia_transtorno_superdotacao'
}
}).addValue({
name:'school_type',
table: 'aluno_ens_superior',
tableField: 'tipo_escola_ensino_medio',
tableField: 'par_tipo_escola_ensino_medio',
resultField: 'school_type_id',
where: {
relation: '=',
type: 'integer',
field: 'tipo_escola_ensino_medio'
field: 'par_tipo_escola_ensino_medio'
}
}).addValue({
name: 'university',
......@@ -446,12 +445,12 @@ rqf.addField({
}).addValue({
name: 'gender_ies',
table: 'aluno_ens_superior',
tableField: 'genero_aluno',
tableField: 'par_genero_aluno',
resultField: 'gender_ies_id',
where: {
relation: '=',
type: 'integer',
field: 'genero_aluno'
field: 'par_genero_aluno'
}
}).addValue({
name:'academic_level',
......
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