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

Fix filter name

parent e4415f12
No related branches found
No related tags found
2 merge requests!160Issue/423,!157WIP: Release v1.8.0
Pipeline #17718 failed
module.exports = function citySize(id) {
switch (id) {
case 1:
return 'até 5000';
return '0 - 5000';
case 2:
return '5001 - 10000';
case 3:
......
......@@ -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"},
......
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