From 02c32ef4eb4cfc752b81ff254cc5430035f8d9c6 Mon Sep 17 00:00:00 2001 From: "fefe.clochette" Date: Tue, 9 Dec 2025 13:38:46 +0100 Subject: [PATCH] Auto-commit for deploy to production - 2025-12-09 13:38:46 --- assets/js/family-calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/family-calendar.js b/assets/js/family-calendar.js index 7d37084..e048b8d 100644 --- a/assets/js/family-calendar.js +++ b/assets/js/family-calendar.js @@ -137,7 +137,7 @@ 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}%'`; + const where = `annee_scolaire='${anneeScolaire}' AND zones LIKE '%${zoneLabel}%' AND population='Elèves'`; const params = new URLSearchParams({ where, limit: "100",