okfn/ckan — pull request #1118 by tobes (2013-07-18 11:39:58+00:00)
Title: Invalid request causes 500 through ValueError in search facet

[This line](https://github.com/okfn/ckan/blob/master/ckan/controllers/package.py#L267) should be wrapped in a `try-except-ValueError` similar to [this line](https://github.com/okfn/ckan/blob/master/ckan/controllers/package.py#L126).