Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Per page" selector change breaks filters with multiple values #5429
On such an index view :
filter :tags, multiple: true config.per_page = [30, 200, 5000]
This is due to the way the
As you can see, this method does not support querystrings containing arrays.
I am not aware of your policy on using JS libraries (I understand you want to keep it light), but this one seems quite appropriate for this job: https://github.com/ljharb/qs
I tried to look into the issue myself but did not find info on how JS libraries are packaged in this project. I would love some help on how to contribute using the
Thank you very much for your time!