Simple Pagination Question

Is there something I need to know in order to use a drop down list value
as a parameter in my search? That might not have made sense. So I
create a form with a textbox and a drop down list of countries. Both
values are passed to the controller as parameters and I am using
pagination to split up the results into pages. Everything works great,
the search works and the pagination links appear at the bottom of the
view correctly. The problem is when I click on one of the pagination
links the page that is loaded is blank (no results).

Do I need to pass the parameters from the textbox and drop downlist
somehow?

Thanks in advance

Chris

Could you post your controller code. That might help!!!

Yes, you do.

add them in on the pagination links, and make sure the destination
action takes them, and uses them in the redisplay.

Julian.

Learn Ruby on Rails! CHECK OUT THE FREE VIDS (LIMITED TIME) NEW VIDEO
(#2) OUT NOW!
http://sensei.zenunit.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs