Skip to content

Commit

Permalink
fix: filter school registered as maternel too
Browse files Browse the repository at this point in the history
  • Loading branch information
eMerzh committed Sep 24, 2023
1 parent 76f54d5 commit d3aec01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/preCompute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function schoolExtract(school) {
const file = {
primary: newSchools
.filter((school) => school.type_d_enseignement === "Primaire ordinaire")
.filter((school) => school.nom_de_l_etablissement.indexOf("Cycle 2,5-8") === -1)
.map(schoolExtract)
.filter((school) => !!school.geo),

Expand Down
2 changes: 1 addition & 1 deletion src/schools.json

Large diffs are not rendered by default.

0 comments on commit d3aec01

Please sign in to comment.