feat: improve assessments filters and cleaning

This commit is contained in:
2025-08-07 14:47:16 +02:00
parent dea30fb2a5
commit 666f1a85bf
20 changed files with 64 additions and 3750 deletions

View File

@@ -160,15 +160,8 @@ const Notytex = {
const url = new URL(window.location);
url.search = params.toString();
// Navigation sans rechargement complet si possible
if (history.pushState) {
history.pushState(null, '', url.toString());
// Déclenchement d'un événement personnalisé pour les composants qui écoutent
window.dispatchEvent(new CustomEvent('filtersChanged', { detail: params }));
} else {
// Fallback pour les anciens navigateurs
window.location.href = url.toString();
}
// Rechargement de la page avec les nouveaux filtres
window.location.href = url.toString();
},
/**