ryanjdew / ml-slush-discovery-app

Quick up and running app for exploring MarkLogic data, based off of the marklogic-node slush template
Other
9 stars 7 forks source link

Facet selection limited to one inclusive selection #102

Open dlaufen opened 7 years ago

dlaufen commented 7 years ago

After selecting one facet for inclusion, the whole category is removed from the page so you can't add other facets from that same category.

Excluding a facet works as expected, you can have multiple exclude constraints.

ryanjdew commented 7 years ago

This appears to be working as intended. If I select a facet where there are no remaining facets in that category match, the category is removed. if the there is overlap, the category still shows.

For example, if I select "eye color: blue", eye color no longer shows since all the eye colors will be blue. There is no other filtering on that category that you can do. If I have a tags category and select "tags: marklogic", it will show the tags category would show remaining matching tags like "data hub", etc.