1

I have a catalogue list organised as a table with 4 exposed filter criteria set up. The page can be found here. An export of the view can be found here.

When a user runs the filter it works fine, but if they change the value of one of the filters and run it again, the search returns the results of the previous search and reverts to the previous value of the filter.

I know that if I enable a 'reset' button and the user resets the search that this works, but it is rather strange that if the user only wishes to change one of the filter criteria and keep the others the same that they cannot. They have to reenter all the criteria again.

Is there a configuration option that I am missing somewhere? I am running Views 7.x-3.0-rc1


Update: I have just noticed that even with the reset button that things do not work as they should.

If I hit 'reset' the query string at the end of the url is removed and the filter text boxes become blank. If I then add new criteria and hit 'apply' the querystring reflects the new filters, but the filter text boxes and the results reflect the original filter values.

2

You can select under each exposed filter, if Views should remember the selection or not. Remembering the last selected value will be stored as a session variable and persist until the user logs out etc.

  • I don't think that is it. My exposed filters have that checkbox unflagged. – Martin Duys Jul 30 '11 at 9:54
2

In this case, the reason for the failure of the filter to update was that I had caching enabled on the view. Once I turned this off the exposed filters worked correctly.

  • I had a similar case. I replicated a particular view's exposed filter to use as a block on main page, via a custom module. When the submit redirected user to the principal views page, the query string was stuck at the original value used at front page. Cache was disabled, but I had to disable "Remember..." and ajax as well. – Artur Mar 31 '12 at 14:49

protected by kiamlaluno Jun 6 '13 at 20:25

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.