A whole bunch of changes to do facets properly:
authorMike Taylor <mike@indexdata.com>
Fri, 22 Nov 2013 17:30:23 +0000 (17:30 +0000)
committerMike Taylor <mike@indexdata.com>
Fri, 22 Nov 2013 17:30:23 +0000 (17:30 +0000)
commitf9b8ce4ca71110c94bc5cf90d346bc18466d5075
tree3058ae76485d210cd8751844fc4556b76f9d30e1
parent8e0ada4bb4406c639a363f535cc47ea87265797c
A whole bunch of changes to do facets properly:

* We no longer keep mkws.pp2filter state-variable around
* limitTarget() and unlimitTarge() no longer mess around with Pazpar2
  filter syntax
* limitQuery() no longer messes with the actual query
* triggerSearch () now calculates pp2filter (for targets) and pp2limit
  (for field values) on the fly from mkws.filters.
* Limits as well as filters are passed into my_paz.search()
* limitQuery() calls resetPage() etc. by hand, as its sibling
  functions do, instead of delegating to onFormSubmitEventHandler()
* Pass pazpar2 fieldnames rather than CCL indexes into
  add_single_facet()

All of this fixes bug MKWS-63 ("Reimplement facets to use Pazpar2
filtering rather than query manipulation")
tools/htdocs/mkws.js