fixed cascading filtering

This commit is contained in:
Dave Lane 2024-09-27 12:39:42 +12:00
parent fcd1a8b12b
commit 1ce925a95d
2 changed files with 5 additions and 2 deletions

View file

@ -20,6 +20,9 @@
"eslint": "^9.0.0", "eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0", "eslint-plugin-svelte": "^2.36.0",
"flowbite": "^2.5.1",
"flowbite-svelte": "^0.46.18",
"flowbite-svelte-icons": "^1.6.1",
"globals": "^15.0.0", "globals": "^15.0.0",
"prettier": "^3.1.1", "prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2", "prettier-plugin-svelte": "^3.1.2",

View file

@ -337,9 +337,9 @@
filteredTechnologies = filterTechnologiesByArray(results.active_services, 'categories', filteredTechnologies = filterTechnologiesByArray(results.active_services, 'categories',
flattenFilter($categoryFilter)); flattenFilter($categoryFilter));
// filter by analogues // filter by analogues
filteredTechnologies = filterTechnologiesByArray(results.active_services, 'analogues', filteredTechnologies = filterTechnologiesByArray(filteredTechnologies, 'analogues',
flattenFilter($analogueFilter)); flattenFilter($analogueFilter));
filteredTechnologies = filterTechnologiesByValue(results.active_services, 'license', filteredTechnologies = filterTechnologiesByValue(filteredTechnologies, 'license',
flattenFilter($licenseFilter)); flattenFilter($licenseFilter));
//filteredTechnologies = filterTechnologiesByCategoryList(results.all_services, flattenFilter($categoryFilter)); //filteredTechnologies = filterTechnologiesByCategoryList(results.all_services, flattenFilter($categoryFilter));