Skip to content
Snippets Groups Projects
Commit d602b496 authored by ns17's avatar ns17
Browse files

fixing metric FIES

parent a5747922
No related branches found
No related tags found
2 merge requests!28Development,!27fixing metric FIES
...@@ -201,7 +201,7 @@ rqf.addField({ ...@@ -201,7 +201,7 @@ rqf.addField({
fiesApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { fiesApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
req.sql.field('ano_censo as nu_ano') req.sql.field('ano_censo as nu_ano')
.field('COUNT(*) AS total') .field('SUM(*) AS total')
.from('fies_ag') .from('fies_ag')
.group('ano_censo') .group('ano_censo')
.order('ano_censo'); .order('ano_censo');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment