X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FSearch.php;h=64da4325b87a6c53d1168ab526a65dd20ff4078d;hb=4755bcde43cdb3c464a12c42ef73b01c0ad0b4a1;hp=2f422efb05e8ed96f840595d77570b7291387234;hpb=6a2fe65b124c9977dff8e006280624ad599a59e0;p=civicrm-core.git diff --git a/CRM/Contact/Form/Search.php b/CRM/Contact/Form/Search.php index 2f422efb05..64da4325b8 100644 --- a/CRM/Contact/Form/Search.php +++ b/CRM/Contact/Form/Search.php @@ -1,7 +1,7 @@ _formValues); // We use ajax to handle selections only if the search results component_mode is set to "contacts" - if ($qfKeyParam && $this->get('component_mode') <= 1) { + if ($qfKeyParam && ($this->get('component_mode') <= 1 || $this->get('component_mode') == 7)) { $this->addClass('crm-ajax-selection-form'); $qfKeyParam = "civicrm search {$qfKeyParam}"; $selectedContactIdsArr = CRM_Core_BAO_PrevNextCache::getSelection($qfKeyParam); @@ -479,7 +478,7 @@ class CRM_Contact_Form_Search extends CRM_Core_Form_Search { } /** - * processing needed for buildForm and later + * Processing needed for buildForm and later * * @return void * @access public