CRM-15147 - Fix bug where embedded search shows wrong content after paging and refreshing
authorColeman Watts <coleman@civicrm.org>
Tue, 19 Aug 2014 20:34:37 +0000 (21:34 +0100)
committerColeman Watts <coleman@civicrm.org>
Tue, 19 Aug 2014 20:57:46 +0000 (21:57 +0100)
CRM/Utils/Pager.php

index 86d018a0de821641e5f1b2b0f568f2744fa216b1..9615cccdcca9f94a5893c51d96d9aa11c0ea0527 100644 (file)
@@ -325,7 +325,7 @@ class CRM_Utils_Pager extends Pager_Sliding {
    * Build a url for pager links
    */
   function makeURL($key, $value) {
-    $href = CRM_Utils_System::makeURL($key);
+    $href = CRM_Utils_System::makeURL($key, TRUE);
     // CRM-12212 Remove alpha sort param
     if (strpos($href, '&amp;sortByCharacter=')) {
       $href = preg_replace('#(.*)\&amp;sortByCharacter=[^&]*(.*)#', '\1\2', $href);