Skip to content
Snippets Groups Projects
Commit 5b050304 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix dims

parent 8170bdfc
No related branches found
No related tags found
No related merge requests found
Pipeline #18447 failed
......@@ -323,7 +323,7 @@ function addNullFields(result) {
// LDE
classCountApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
// Faz a consulta do número de alunos pelas dimensões
if(("education_level_mod" in req.dims) || ("education_level_mod" in req.filter)) {
if(("education_level_mod" in req.dims) || ("education_level_mod" in req.filter) || ("education_level_short" in req.dims)) {
req.sql.field("'Brasil'", 'name')
.field('turma.ano_censo', 'year')
.field('AVG(turma.num_matricula)', 'average')
......
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