ckan/ckan — pull request #1791 by amercader (2014-06-24 16:07:50+00:00)
Title: Ordering a dataset listing loses the existing filters

1. Go to /dataset
2. Select a couple of filters on the left facets column
3. Change the ordering

The filters are lost.

There is a `form.hidden_from_list` macro call in the `search_form.html` snippet that does not get the `fields` variable it needs to create the hidden necessary inputs. Fix is passing `fields=c.fields` when calling the `search_form.html` snippet.