filterrific
filterrific copied to clipboard
How to show URL params on filter form
Hello, this is a usage question, not an issue
I have a filterrific form on the home page and another on the "properties" page. When you hit Search, it redirects to the results page and the results are ok but only some params are displayed on the form.
http://sunsethomesgrancanaria.com/en/
How can I make all the fields show the value on the #params?
Hi @pmaojo Please how did you get urls params to even show on the url the first place?
Thanks.
= form_for_filterrific(@filterrific, url: inmuebles_path, html: { id: :manual_filterrific_form }) do |f|
My problem was using options_for_select
Thanks @pmaojo This is the error I got when I tried your code
undefined local variable or method `inmuebles_path' for #<#<Class:0x00000004b30b60>:0x00000004b12598>
Inmueble is a model in my app