diff --git a/CHANGELOG.md b/CHANGELOG.md index 856e96e940f57fe951e5da28f05c9337d08bfdb6..9565b7c3410a9a65280623a83095150c844cde2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## 1.7.0 - 2018-09-20 ### Changed - Fix return string in contract type id 1 +- Fix out of school route +- Fix pib-per-capita route +- Fix filters in infrastructure route +- Remove filters in transport route ## 1.6.1 - 2018-08-23 # Changed diff --git a/src/libs/convert/citySize.js b/src/libs/convert/citySize.js index 819eb150e8a91e9546cf6935ce7b000b63242789..3f50462b097d9340a0d7973460412a463aca7a17 100644 --- a/src/libs/convert/citySize.js +++ b/src/libs/convert/citySize.js @@ -1,7 +1,7 @@ module.exports = function citySize(id) { switch (id) { case 1: - return 'até 5000'; + return '0 - 5000'; case 2: return '5001 - 10000'; case 3: diff --git a/src/libs/routes/pibpercapita.js b/src/libs/routes/pibpercapita.js index aacebe6e1313fca3b954944ea8a64c7855153e90..de1ec7d60b1699675701ac8c7906a6b24052eaff 100644 --- a/src/libs/routes/pibpercapita.js +++ b/src/libs/routes/pibpercapita.js @@ -170,7 +170,6 @@ pibpercapitaApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { let isnum = /^\d+$/.test(value); if (isnum == true) { value = value.toFixed(2) - console.log(value) } // console.log(i.total); diff --git a/src/libs/routes/population.js b/src/libs/routes/population.js index cd307cdbcbb70b797c76d92b3550a0e3d9306604..f0402daa73c13eb6453b4e3d584bfe11b8145a01 100644 --- a/src/libs/routes/population.js +++ b/src/libs/routes/population.js @@ -41,7 +41,7 @@ populationApp.get('/years', (req, res, next) => { populationApp.get('/city_size', (req, res, next) => { req.result = [ - {id: 1, name: "até 5000"}, + {id: 1, name: "0 - 5000"}, {id: 2, name: "5001 - 10000"}, {id: 3, name: "10001 - 20000"}, {id: 4, name: "20001 - 50000"},