Closed darkfrog26 closed 10 years ago
You could use this one for these cases: http://ivaynberg.github.io/select2/#tags
The idea was to be able to incorporate both facet/value and facet-only into one search. So for example you might have: "Country: USA ShowOnlyNew".
That's out of scope for this project, but I would just add a flag with a key and value. Instead of ShowOnlyNew, change it to show: new vs. show:all (default).
Just had this issue too, here's a hackish solution: https://github.com/documentcloud/visualsearch/issues/133
Currently there is a tight coupling between Facet and Value. I need to support the case where there are facet-only flags or perhaps it could be considered value-only. An update to visualsearch to support this would make it far more useful of a library.