Issue #3170185 by mondrake, Gvert, larowlan, paulocs, alexpott: Drupal\taxonomy\Form\OverviewTerms should determine the current page via the 'pager.manager' service, not from the Request

merge-requests/83/head
catch 2020-11-26 15:32:22 +00:00
parent 1f56b97b0b
commit fe53c49822
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class OverviewTerms extends FormBase {
$vocabulary_hierarchy = $this->storageController->getVocabularyHierarchyType($taxonomy_vocabulary->id());
$parent_fields = FALSE;
$page = $this->getRequest()->query->get('page') ?: 0;
$page = $this->pagerManager->findPage();
// Number of terms per page.
$page_increment = $this->config('taxonomy.settings')->get('terms_per_page_admin');
// Elements shown on this page.