Skip to content
Snippets Groups Projects
Commit 020926cb authored by es23's avatar es23 :coffee:
Browse files

minor changes

parent 2f94eac6
No related branches found
No related tags found
No related merge requests found
......@@ -87,16 +87,16 @@ superiorEnrollmentAggregateApp.get('/city', (req, res, next) => {
next();
}, query, response('city'));
superiorEnrollmentAggregateApp.get('/tp_categ_adm', (req, res, next) => {
superiorEnrollmentAggregateApp.get('/tp_categ_adm_agg', (req, res, next) => {
req.result = []
for (let i = 1; i <= 5; i++) {
for (let i = 1; i <= 5; ++i) {
req.result.push({
id: i, name: id2str.admDependency(i)
});
}
next();
}, response('tp_categ_adm'));
}, response('tp_categ_adm_agg'));
superiorEnrollmentAggregateApp.get('/cine_global', (req, res, next) => {
req.result = [];
......@@ -220,7 +220,7 @@ rqf.addField({
}).addValue({
name: 'max_year',
table: 'curso_superior_agregado',
tableField: '',
tableField: 'ano_censo',
resultField: 'year',
where: {
relation: '<=',
......@@ -228,7 +228,7 @@ rqf.addField({
field: 'ano_censo'
}
}).addValue({
name: 'tp_categ_adm',
name: 'tp_categ_adm_agg',
table: 'curso_superior_agregado',
tableField: 'tp_categ_adm',
resultField: 'tp_categ_adm_id',
......
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