You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
@fij0 how about creating hidden field which contains your filter? But don't forget to create empty scope in your model otherwise meta_search will generate error because you don't have that kind of search method definied.
It looks like this in your model:
search_methods [...] :pieza_id
After putting this into your model and creating hidden field you should be able to use params[:search][:pieza_id] variable
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hello, im using metasearch and i need use the metasearch form but with a pre filter that i have thanks to a params, in easy words, metasearch generate this url
http://localhost:3000/libros?utf8=%E2%9C%93&search%5Bnro_iden_equals%5D=9&search%5Bnro_trans_equals%5D=&search%5B&commit=Buscar
And i need generate an url like this
http://localhost:3000/libros?pieza_id=9?utf8=%E2%9C%93&search%5Bnro_iden_equals%5D=9&search%5Bnro_trans_equals%5D=&search%5B&commit=Buscar
It is posible this ?
Sorry about my writing , my inglish is poor
Thanks
The text was updated successfully, but these errors were encountered: