documentcloud/visualsearch — pull request #49 by masklinn (2012-03-09 13:09:21+00:00)
Title: Handle programmatic alterations of searchQuery (the facets collection)

Adds a bunch of event handlers on `searchQuery` from the searchbox (add, remove and change on top of the preexisting reset).

* (re)moves a few lines from the search_facet view
* allows code outside of VS to change the value of existing facets and to add facets to (and remove facets from) the `searchQuery` collection, making it much simpler to programmatically alter the list of facets.