diff --git a/src/components/sessions/filter.astro b/src/components/sessions/filter.astro index 55f1d4193..f756cb928 100644 --- a/src/components/sessions/filter.astro +++ b/src/components/sessions/filter.astro @@ -12,10 +12,10 @@ import { Select } from "../form/select";
- + ("#track"); const typeSelect = form.querySelector("#type"); const levelSelect = form.querySelector("#level"); - const searchInput = form.querySelector("#search"); + const searchInput = form.querySelector("#sessionSearch"); if (trackSelect) trackSelect.value = track; if (typeSelect) typeSelect.value = type; @@ -130,7 +130,7 @@ import { Select } from "../form/select"; const trackSelect = form.querySelector("#track"); const typeSelect = form.querySelector("#type"); const levelSelect = form.querySelector("#level"); - const searchInput = form.querySelector("#search"); + const searchInput = form.querySelector("#sessionSearch"); const track = trackSelect?.value || ""; const type = typeSelect?.value || ""; @@ -190,7 +190,7 @@ import { Select } from "../form/select"; select.addEventListener("change", filterSessions); }); - const searchInput = form.querySelector("#search"); + const searchInput = form.querySelector("#sessionSearch"); if (searchInput) { searchInput.addEventListener("input", filterSessions); }