Keep filter when clicking pager links
[phinde.git] / www / index.php
index 8bd900ca90f403889957547cbd223bc14c5e0efe..da7b27cacfe5e8facc643409c3e60f194fce4ab1 100644 (file)
@@ -98,7 +98,7 @@ $timeEnd = microtime(true);
 
 $pager = new Html_Pager(
     $res->hits->total, $perPage, $page + 1,
-    $baseLink
+    buildLink($baseLink, $filters, null, null)
 );
 
 foreach ($res->hits->hits as &$hit) {
@@ -175,6 +175,7 @@ render(
         'sort' => $sort,
         'urlSorts' => $urlSorts,
         'hitTemplate' => 'search/' . $GLOBALS['phinde']['hitTemplate'],
+        'sidebarinclude' => $GLOBALS['phinde']['sidebarinclude'],
     )
 );
 ?>