Including all schools in England
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 58s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 58s
This commit is contained in:
@@ -78,6 +78,14 @@ async function loadFilters() {
|
||||
const data = await fetchAPI('/api/filters');
|
||||
if (!data) return;
|
||||
|
||||
// Populate local authority filter
|
||||
data.local_authorities.forEach(la => {
|
||||
const option = document.createElement('option');
|
||||
option.value = la;
|
||||
option.textContent = la;
|
||||
elements.localAuthorityFilter.appendChild(option);
|
||||
});
|
||||
|
||||
// Populate school type filter
|
||||
data.school_types.forEach(type => {
|
||||
const option = document.createElement('option');
|
||||
|
||||
Reference in New Issue
Block a user