jhund / filterrific

Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
http://filterrific.clearcove.ca
MIT License
912 stars 125 forks source link

Filtering stops working after pressing the "Reset filters" button #107

Open acrolink opened 8 years ago

acrolink commented 8 years ago

Clicking the button clears the filtering text fields, inputs and selects but filtering afterwards stops working, the filtering form does not do a thing.. Only after page reload it starts working again. Any idea what might be going on here? Thank you..

acrolink commented 8 years ago

UPDATE

Problem solved by disabling turbolinks.

edwardmp commented 8 years ago

Noticed the same here. Indeed solved by disabling turbolinks, but that's quite a drastic solution. I will try to look for the real cause.

acrolink commented 8 years ago

@edwardmp

The changes as suggested here: https://github.com/jhund/filterrific/pull/87 solve the issue.

edwardmp commented 8 years ago

@acrolink thanks, I'll check it out