Jarn / collective.solr

9 stars 1 forks source link

Adding a facet search should clear batch start #12

Closed mjpieters closed 12 years ago

mjpieters commented 12 years ago

When you have searched for a keyword, browsed to another batch in that result set starting at b_start=n, then select a facet with < n results, you end up with an exception, because you send a query to SOLR for a result set start at n and SOLR only returns empty results at that moment.

The easiest solution is to clear b_start when searching for facets.