Skip to content
Snippets Groups Projects
Commit 25ea820e authored by lgtg20's avatar lgtg20
Browse files

[fix] add ordering by year to student revenue query

parent 67d1a0e9
Branches
No related tags found
4 merge requests!501[hotfix] capital filter working for superior education conclusion tax...,!499[hotfix] capital filter working for superior education conclusion tax...,!471Development,!470[fix] add ordering by year to student revenue query
......@@ -142,6 +142,7 @@ studentRevenueApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
.field(`SUM(receitas) / SUM(matriculas_publicas_mais_conveniada) / 12`, 'total_receita_aluno_mes_publica_mais_conveniada')
.where(`${whereCondition}`)
.group('receitas.ano')
.order('receitas.ano')
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment