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

Merge branch 'fix-issue-975' into 'development'

[fix] add ordering by year to student revenue query

See merge request !470
parents 67d1a0e9 25ea820e
No related branches found
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) => { ...@@ -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') .field(`SUM(receitas) / SUM(matriculas_publicas_mais_conveniada) / 12`, 'total_receita_aluno_mes_publica_mais_conveniada')
.where(`${whereCondition}`) .where(`${whereCondition}`)
.group('receitas.ano') .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