diff --git a/core/modules/taxonomy/src/Form/OverviewTerms.php b/core/modules/taxonomy/src/Form/OverviewTerms.php index 62fc76a6b61bf8fbee50a7d7839c5cad300c59a1..5b99033d6e990c6864e2afb7befa7b44d9f0e45d 100644 --- a/core/modules/taxonomy/src/Form/OverviewTerms.php +++ b/core/modules/taxonomy/src/Form/OverviewTerms.php @@ -197,7 +197,7 @@ public function buildForm(array $form, FormStateInterface $form_state, Vocabular $back_step = $back_step ?? 0; // Continue rendering the tree until we reach the a new root item. - if ($page_entries >= $page_increment + $back_step + 1 && $raw_term->depth == 0 && $root_entries > 1) { + if ($page_entries >= $page_increment + $back_step && $raw_term->depth == 0 && $root_entries > 1) { $complete_tree = TRUE; // This new item at the root level is the first item on the next page. $after_entries++;