This is because I have an index page with your pagination.
But, when I put filter function implemented by POST method to my index page and click on pagination, my filter dose not work at all because of GET method is used in your pagination.
Therefore, I thought I can use javascript to make it like submit button.
Howeer, when I put javascript into pagination_url, the url was like this following.