If you on any of the search pages manually add
- Code: Select all
&sr=posts
(default search result is set to topic view), and you navigate to the next page the sr variable is dropped and the topic view is used on the next page.
The problem is caused by the way this variable is assigned to the URI that is passed into the generate_pagination() function.