CDRH / orchid

Rails Engine for site integration with CDRH API
MIT License
3 stars 0 forks source link

More granular facets configuration #167

Open techgique opened 4 years ago

techgique commented 4 years ago

Facets may be omitted from search pages, but cannot be omitted from browse pages. Facets on search pages depend on facets being present in browse as well. Explore the possibility of adding another flag to facets configuration and decoupling their use between browse and search.

This may depend upon "See more" buttons in search facets using a modal or their own pages.

jduss4 commented 4 years ago

I was thinking during the work on nebraskaland that it might be nice to be able to also control features for specific facets. That is, what if you want dates by default to sort "alphabetically" by term, but you want people's names by default to sort by "count" ? We might want to think about if this feature would be useful to put in the orchid config. Unfortunately my idea might require API changes to display that on the search pages, but I think it would be possible for the browse pages with some orchid changes.