Description:
When navigating on search results pages URL transforms into very big string where sorting parameters are duplicating many times.
Steps to reproduce:
- Install clean In-Portal copy with Advanced theme from SVN-repository
- Install In-newz module;
- Make sure that Advanced theme is primary on your In-Portal installation;
- Go to admin part and create 11 articles (in my case there were articles with title "Lorem ipsum");
- Go to front-end part and in left "Search" side box type request which definitely find your all 11 articles ("Lorem ipsum" in my case);
- On "Articles Search Results" go to bottom of the page and click "More..." link;
- On this page click on link of second page of results. Query part in address bar of browser will change to something like this: "http://localhost/in-news/articles/search_results.html?sort_by=Relevance,desc|CreatedOn,desc&page=2";
- Goto bottom of this page and click on link of first page of results. It transforms query part in address bar to something like that: "http://localhost/in-news/articles/search_results.html?sort_by=Relevance,desc|CreatedOn,desc|CreatedOn,desc";
- Click again on link of second page. Our desired part of request will be like that: "http://localhost/in-news/articles/search_results.html?sort_by=Relevance,desc|CreatedOn,desc|CreatedOn,desc|CreatedOn,desc&page=2".
Please note on text selected by bold font.