fix CRM-12093
authorDonald A. Lobo <lobo@civicrm.org>
Mon, 11 Mar 2013 18:01:20 +0000 (11:01 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Mon, 11 Mar 2013 18:01:20 +0000 (11:01 -0700)
CRM/Core/Block.php
templates/CRM/Block/FullTextSearch.tpl

index aa2017d122aa0789a9d14b457ec0415de43ed643..f7312269acfedb3b7db48c9410dcbe615f9ad0b9 100644 (file)
@@ -166,7 +166,7 @@ class CRM_Core_Block {
           'info' => ts('CiviCRM Full-text Search'),
           'subject' => ts('Full-text Search'),
           'active' => TRUE,
-          'cache' => BLOCK_CACHE_GLOBAL,
+          'cache' => BLOCK_NO_CACHE,
           'visibility' => 1,
           'weight' => -94,
           'status' => 0,
@@ -361,7 +361,7 @@ class CRM_Core_Block {
       if (!empty($config->enableComponents)) {
         // check if we can process credit card contribs
         $newCredit = CRM_Core_Payment::allowBackofficeCreditCard();
-        
+
         foreach ($components as $componentName => $obj) {
           if (in_array($componentName, $config->enableComponents)) {
             eval('$obj->creatNewShortcut( $shortCuts, $newCredit );');
index c402b61041f2c0226aa9c3c5736014063a077a89..c15b9dd685db3f81dbd529c391db7c66e699ed2a 100644 (file)
@@ -41,6 +41,7 @@
     <form method="post" id="id_fulltext_search">
     <div style="margin-bottom: 8px;">
     <input type="text" name="text" id='text' value="" style="width: 10em;" />&nbsp;<input type="submit" name="submit" id="fulltext_submit" value="{ts}Go{/ts}" class="form-submit"/ onclick='submitForm();'>
+    <input type="hidden" name="qfKey" value="{crmKey name='CRM_Contact_Controller_Search' addSequence=1}" />
   </div>
   <select class="form-select" id="fulltext_table" name="fulltext_table">
 {if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))}