Skip to content

Commit

Permalink
Fix sorting issue on postal codes (may need to fix at data level later)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasG77 committed Jan 9, 2023
1 parent dfb4e4a commit 4c5ffad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/communes.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function buildCommunes() {
siren: commune.siren,
codeDepartement: commune.departement,
codeRegion: commune.region,
codesPostaux: commune.codesPostaux || [],
codesPostaux: [...(commune.codesPostaux || [])].sort(),
population: commune.population,
zone: commune.zone
}
Expand Down

0 comments on commit 4c5ffad

Please sign in to comment.