Open wezetel opened 1 month ago
Just found a solution which seems to work for me. I added following lines to components\com_search\src\View\Search\HtmlView.php around line 280:
$this->pagination->setAdditionalUrlParam('searchword', $state->get('keyword'));
$this->pagination->setAdditionalUrlParam('searchphrase', $state->get('match'));
Steps to reproduce the issue
Perform a search which has more than 10 results
Expected result
Result page with working pagination
Actual result
Selecting next page shows no results
System information (as much as possible)
Newest J5 ( but will probably be the same for newest J4
Additional comments
Url Parameters are missing in the pagination and need to be added. See: https://docs.joomla.org/J5.x:Pagination_class_removes_query_parameters