Skip to content
Snippets Groups Projects
Commit ca413456 authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

[TEST] Trying to change the 'order by' in request

parent 8d6d6985
No related branches found
No related tags found
3 merge requests!417[ADD] Indicator "Taxa de Atendimento Educacional" updated on production!,!416[ADD] Route almost ready, some tests needed. Comments added and filters that...,!414[ADD] Route almost ready, some tests needed. Comments added and filters that...
......@@ -317,8 +317,8 @@ rateSchoolNewApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.where('pnad_novo.faixa_etaria < 7')
.group('pnad_novo.ano_ref')
.group('pnad_novo.faixa_etaria')
.order('pnad_novo.faixa_etaria')
.order('pnad_novo.ano_ref')
.order('pnad_novo.faixa_etaria')
req.querySet.push(attends_school);
// Then, the second object is created and stores the sum of all people below a certain age (24 years)
......@@ -331,8 +331,8 @@ rateSchoolNewApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.where('pnad_novo.faixa_etaria < 7')
.group('pnad_novo.ano_ref')
.group('pnad_novo.faixa_etaria')
.order('pnad_novo.faixa_etaria')
.order('pnad_novo.ano_ref')
.order('pnad_novo.faixa_etaria')
req.querySet.push(full_population);
next();
......
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