Auto-commit for deploy to production - 2025-12-09 13:44:30

This commit is contained in:
2025-12-09 13:44:30 +01:00
parent c07b923fbe
commit c9eab0ccab
+4 -1
View File
@@ -137,7 +137,10 @@ const events = []; // on pourra y ajouter OFF_CAROLE, CENTRE, etc. plus tard
async function fetchSchoolHolidays(anneeScolaire, zoneLabel) {
const baseUrl =
"https://data.education.gouv.fr/api/explore/v2.1/catalog/datasets/fr-en-calendrier-scolaire/records";
const where = `annee_scolaire='${anneeScolaire}' AND zones LIKE '%${zoneLabel}%' AND population='-'`;
// On filtre uniquement sur l'année scolaire et la zone
const where = `annee_scolaire='${anneeScolaire}' AND zones LIKE '%${zoneLabel}%' AND population<>'Enseignants'`;
const params = new URLSearchParams({
where,
limit: "100",