diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php index 49ef067..693cd8d 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php @@ -183,7 +183,7 @@ function execute_count_query(&$count_query) { $this->total_items -= $this->options['offset']; } - $this->update_page_info(); + $this->updatePageInfo(); return $this->total_items; } @@ -191,7 +191,7 @@ function execute_count_query(&$count_query) { * If there are pagers that need global values set, this method can * be used to set them. It will be called when the count query is run. */ - function update_page_info() { + function updatePageInfo() { } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/pager/SqlBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/pager/SqlBase.php index f7eb34b..b279fda 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/pager/SqlBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/pager/SqlBase.php @@ -292,7 +292,7 @@ function get_pager_total() { * items available and to update the current page if the requested * page is out of range. */ - function update_page_info() { + function updatePageInfo() { if (!empty($this->options['total_pages'])) { if (($this->options['total_pages'] * $this->options['items_per_page']) < $this->total_items) { $this->total_items = $this->options['total_pages'] * $this->options['items_per_page']; diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index a8a8dd2..c4bd403 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -1204,7 +1204,7 @@ public function execute($display_id = NULL) { if ($cache->cache_get('results')) { if ($this->pager->use_pager()) { $this->pager->total_items = $this->total_rows; - $this->pager->update_page_info(); + $this->pager->updatePageInfo(); } } else {