I am writing an application that passes a user query via GET to a database and then displays the results in a table. I want to use the Pagination class to page through the results. But my page links need to maintain the query parameters, so that the results set remains constant as the user pages.
I'd like for my pager links to resemble the following:
The Pagination object seems to append a slash and the page number to the very end of the URL no matter what I do. I realize that I can make the page number a GET parameter, like the following: