PECE-project / drupal-pece

PECE development repository
GNU General Public License v3.0
20 stars 28 forks source link

Facets on Search should be configured for manageable display #471

Open lindsaypoirier opened 2 months ago

lindsaypoirier commented 2 months ago

Right now it appears that most of the facets on the search page are displayed as a list of links. For facets with few choices (content type), this might be fine but may be better displayed as checkboxes. I believe @lindsaypoirier can do this in Administration > Configuration> Search and metadata > Facets, and I would just change the widget for a given facet (but correct me if I'm wrong).

Screenshot 2024-09-04 at 3 02 13 PM

For facets with many choices, we need a widget for a search autocomplete (i.e. user can start typing a term, and the system will filter to options containing those characters). @mlncn You mentioned that you thought this should be straightforward?

mlncn commented 2 months ago

i don't think some facets should be displayed as links and some as checkboxes (both work the same)

The widget for filtering had bugs but i'll give it another try, or we can add our own JS on top of the list.