}
$this->assign('showOrgInfo', $showOrgInfo);
+ // Refresh smart group cache
+ if (!empty($_GET['update_smart_groups'])) {
+ CRM_Contact_BAO_GroupContactCache::loadAll();
+ }
+ else {
+ CRM_Contact_BAO_GroupContactCache::fillIfEmpty();
+ }
+
$this->search();
}