summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Skovgaard Gielfeldt2012-08-09 12:38:36 (GMT)
committer Thomas Skovgaard Gielfeldt2012-08-09 12:38:36 (GMT)
commitdff0a1928045d7f79ea7edb2283d80c2828994da (patch)
tree3ca9d70aa7ee4004f2a8c9bf3944cbd28ce9fb6a
parentc0cf82359ed2776d068d46c1fcb1ecbe9dc9e0e6 (diff)
Issue #1685516 by gielfeldt: Pager not working
-rw-r--r--cache_graceful_views_plugin_cache_graceful.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache_graceful_views_plugin_cache_graceful.inc b/cache_graceful_views_plugin_cache_graceful.inc
index 8a00e4b..af87a05 100644
--- a/cache_graceful_views_plugin_cache_graceful.inc
+++ b/cache_graceful_views_plugin_cache_graceful.inc
@@ -58,7 +58,7 @@ class cache_graceful_views_plugin_cache_graceful extends views_plugin_cache {
// Put results back in local scope
$this->view->result = $data['result'];
$this->view->total_rows = $data['total_rows'];
- $this->view->set_current_page($data['total_rows']);
+ $this->view->set_current_page($data['current_page']);
$this->view->execute_time = 0;
return TRUE;