123456789101112131415161718192021222324 |
- diff --git a/plugins/views/views_php_plugin_pager.inc b/plugins/views/views_php_plugin_pager.inc
- index bb7d2d9..5ffa123 100644
- --- a/plugins/views/views_php_plugin_pager.inc
- +++ b/plugins/views/views_php_plugin_pager.inc
- @@ -47,19 +47,7 @@
- }
- }
- }
- - $this->update_wrapped_pager();
- $this->php_unwrap();
- - }
- -
- - protected function update_wrapped_pager() {
- - $this->wrapped->total_items = count($this->wrapped->view->result);
- - $this->wrapped->update_page_info();
- -
- - $item_per_page = $this->wrapped->get_items_per_page();
- - if ($item_per_page > 0) {
- - $offset = $this->wrapped->get_current_page() * $item_per_page + $this->wrapped->get_offset();
- - $this->wrapped->view->result = array_slice($this->wrapped->view->result, $offset, $item_per_page);
- - }
- }
-
- /**
|