Out of the box in Filterrific, user-selected filters are stored in a cookie. That is, sorting by parameters or keywords is reset only if the user clicks on the appropriate button.

In other words, site search using Filterrific does not depend on the URL parameters in the address bar.

How to disable this option - saving user selected filters in a cookie?

    1 answer 1

    Well, the documentation is the same. This is defined in the initialize_filterrific parameters:

     # * persistence_id: optional, defaults to "<controller>#<action>" string # to isolate session persistence of multiple filterrific instances. # Override this to share session persisted filter params between # multiple filterrific instances. Set to `false` to disable session # persistence. 

    Must set :persistence_id to false .

    • Balin I went through the text of the documentation for the keyword coo (from cookie ). And it turns out it was necessary to session ... Thank you :) - Colibri