From dfb65ab5a04a2b866f8ac0286a40bda591aeb62e Mon Sep 17 00:00:00 2001
From: Fernando Erd <fce15@inf.ufpr.br>
Date: Thu, 20 Sep 2018 09:45:59 -0300
Subject: [PATCH] Fix filter name

---
 src/libs/convert/citySize.js  | 2 +-
 src/libs/routes/population.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs/convert/citySize.js b/src/libs/convert/citySize.js
index 819eb150..3f50462b 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/population.js b/src/libs/routes/population.js
index cd307cdb..f0402daa 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"},
-- 
GitLab