1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/17491] Fix rows duplication in search results

PHPBB-17491
This commit is contained in:
rxu
2025-05-07 00:01:05 +07:00
parent 1c399dcab7
commit 3d76a8bd09
4 changed files with 8 additions and 1 deletions

View File

@@ -300,7 +300,8 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
);
// Browse the rest of search results pages with new sort direction
foreach (range(2, $last_page) as $page_number)
$pages = range(2, $last_page);
foreach ($pages as $page_number)
{
$crawler = self::$client->click($pagination->selectLink($page_number)->link());
$pagination = $crawler->filter('.pagination')->eq(0);