Skip to content
Snippets Groups Projects
Commit a6253bcd authored by Victor Picussa's avatar Victor Picussa
Browse files

[homologa]Removed universityLocalOffer filter from universityEnrollment

parent 0a381877
No related branches found
No related tags found
1 merge request!309Merge new updates into master
Pipeline #23993 passed
......@@ -373,16 +373,6 @@ rqf.addField({
type: 'integer',
field: 'cod_ies'
}
}).addValue({
name: 'universityLocalOffer',
table: '@',
tableField: ['cod_ies', 'nome_ies'],
resultField: ['university_id', 'university_name'],
where: {
relation: '=',
type: 'integer',
field: 'cod_ies'
}
}).addValue({
name:'upper_adm_dependency',
table: '@',
......@@ -651,7 +641,7 @@ rqf.addField({
universityEnrollmentApp.get('/', rqf.parse(), (req, res, next) => {
if ("localoffer" in req.dims) {
if ("university" in req.dims || "universityLocalOffer" in req.dims) {
if ("university" in req.dims) {
req.sql.from('localoferta_ens_superior_matricula')
.field('curso_ens_superior.ano_censo', 'year')
.field('COUNT(localoferta_ens_superior.cod_local_oferta)', 'total')
......@@ -678,7 +668,7 @@ universityEnrollmentApp.get('/', rqf.parse(), (req, res, next) => {
.field('localoferta_ens_superior_matricula.ano_censo', 'year')
.group('localoferta_ens_superior_matricula.ano_censo')
.order('localoferta_ens_superior_matricula.ano_censo')
} else if ("university" in req.dims || "universityLocalOffer" in req.dims) {
} else if ("university" in req.dims) {
req.sql.from('aluno_ens_superior')
.field('COUNT(*)', 'total')
.field("'Brasil'", 'name')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment