Dependent locations facet

Changed

Context

Currently using facets to provide a hierarchical select filter.

You have to select a top level item, then the filter updates with the children.

This can be confusing.

Dependent hierarchical taxonomy facets.

Questions

Can we add additional dropdowns when each level is selected?

Can we have a list of links for the top level?

With dependent facets, can I move them to a second row of filters, so they don't move them when expanded?

Discovery

New commits in Facets 3.x adds support for dependent facets.

Need a way to place the facets so the dependent facets that get added as you make selections don't move other filters around.

Issues

Difficulty configuring Facets Taxonomy Multilevel.
https://www.drupal.org/project/facets_taxonomy_multilevel/issues/3511228
Some issues due to order of processors.

Support for multiple level depths. (working patch)
https://www.drupal.org/project/facets_taxonomy_multilevel/issues/3516165

Facets has a recent fix for dependent facets. Currently in 3.x dev.
https://git.drupalcode.org/project/facets/-/merge_requests/394.diff

Facets 3.x is broken for drupal 10.
https://www.drupal.org/project/facets/issues/3594309

Done

Try out Facets 3.x and Facets Taxonomy MultilevelView Facets Taxonomy Multilevel on Drupal.org modules.

Added patch for selecting multiple levels.

Changes were experimental and not applied to the site.

Task type
Project
Topics
Documentation