From 81aa6678ff562e57916914d6800b069696725248 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 14 Mar 2013 21:42:34 -0700 Subject: [PATCH] Alter quicksearch to redirect to advanced search CRM-12120 --- CRM/Contact/Form/Search/Advanced.php | 2 +- templates/CRM/common/Navigation.tpl | 39 +++++++++------------------- 2 files changed, 13 insertions(+), 28 deletions(-) diff --git a/CRM/Contact/Form/Search/Advanced.php b/CRM/Contact/Form/Search/Advanced.php index 3426f96a88..a3892ba35a 100644 --- a/CRM/Contact/Form/Search/Advanced.php +++ b/CRM/Contact/Form/Search/Advanced.php @@ -245,7 +245,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { } // set the group if group is submitted - if ($this->_formValues['uf_group_id']) { + if (!empty($this->_formValues['uf_group_id'])) { $this->set('id', $this->_formValues['uf_group_id']); } else { diff --git a/templates/CRM/common/Navigation.tpl b/templates/CRM/common/Navigation.tpl index f576a15006..6276100513 100644 --- a/templates/CRM/common/Navigation.tpl +++ b/templates/CRM/common/Navigation.tpl @@ -27,12 +27,13 @@