Fixes a bug in pagination url, a=chris
Fixes a bug in pagination url, a=chris
diff --git a/controllers/search_controller.php b/controllers/search_controller.php
index cc5896208..f9acf0f55 100755
--- a/controllers/search_controller.php
+++ b/controllers/search_controller.php
@@ -210,7 +210,6 @@ class SearchController extends Controller implements CrawlConstants
$data['YIOOP_TOKEN'] = $this->generateCSRFToken($user);
-
$data['ELAPSED_TIME'] = changeInMicrotime($start_time);
$this->displayView($view, $data);
}
diff --git a/views/search_view.php b/views/search_view.php
index 75cb8c1bc..f567bc811 100755
--- a/views/search_view.php
+++ b/views/search_view.php
@@ -198,8 +198,8 @@ class SearchView extends View implements CrawlConstants
<?php
} //end foreach
$this->paginationHelper->render(
- $data['PAGING_QUERY'], $data['LIMIT'],
- $data['RESULTS_PER_PAGE'], $data['TOTAL_ROWS']);
+ $data['PAGING_QUERY']."&YIOOP_TOKEN=".$data['YIOOP_TOKEN'],
+ $data['LIMIT'], $data['RESULTS_PER_PAGE'], $data['TOTAL_ROWS']);
}
?><div class="landing-footer">
<div><b><?php e($data['INDEX_INFO']);?></b></div>