The problem of Pagination's actio



I have a problem for pagination's action.

Step 1: I have a view for user to type search criteria, For example user can type memeber's name or team name for search.

Step 2: After you click <Search> button in search page, it will go to the action of search in memberController to get data and then return to list view for display data

Step 3: There is a pagination if there are more than 10 records

Step 4: If user click the next page it will go to search page not display the data of next page. I wish it just go to the next page.

What should I do?

Thank you