Skip to content
Snippets Groups Projects
Commit 064a5651 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Merge branch 'hotfix_v1.0.3'

parents 696127e2 7baa6229
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ...@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## 1.0.3 - 2018-04-27
### Changed
- Fixed bug undefined field in some indicators
## 1.0.2 - 2018-04-18 ## 1.0.2 - 2018-04-18
### Changed ### Changed
- Fixed bug in pibpercapita route - Fixed bug in pibpercapita route
......
...@@ -55,9 +55,11 @@ module.exports = function addMissing(rqf){ ...@@ -55,9 +55,11 @@ module.exports = function addMissing(rqf){
if(r[rqfName] > newEntry[rqfName]) break; if(r[rqfName] > newEntry[rqfName]) break;
if(r[rqfName] == newEntry[rqfName] && r[rqfName2] > newEntry[rqfName2]) break; if(r[rqfName] == newEntry[rqfName] && r[rqfName2] > newEntry[rqfName2]) break;
} }
if (newEntry.dim1Value != undefined && newEntry.dim2Value != undefined) {
let newResult = [...result.slice(0, index), newEntry, ...result.slice(index, result.length)]; let newResult = [...result.slice(0, index), newEntry, ...result.slice(index, result.length)];
result = newResult; result = newResult;
} }
}
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment