Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 3.3.3
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
I'm having problems with Smart Groups with no criteria being saved but ONLY on Joomla... I'm running 3.3.1 but I did verify on the 3.3.3 demo...
To replicate, on both the Joomla Demo site and the Drupal site I created a custom data set for Individuals that contained a single Radio field called "Subscribe to Notifications". Then I picked a contact and set Subscribed to "Yes" and added a General membership. Then I went to the Advanced search and did a search for Memberships of New, Current or Grace and is Subscribed. This successfully returns my one subscribed member. I then tried to add a New Smart Group from the task list. On Joomla I see none of my criteria and the resulting Smart Group doesn't work. On Drupal it works fine. I've also been able to replicate this behavior with just about EVERY search criteria I create using the Advanced Search form that involves anything outside of the Basic Criteria box but since I need the proper behavior to include my custom data sets I reference that as well. (If for example I include Contact Type is Individual it does 'remember' that but it will 'forget' Gender...)
On the demo sites this was as far as I could go. On my own Joomla based system I can see that when CRM/Contact/Form/Task/SaveSearch.php is invoked that it calls $this->get('queryParams') but that doesn't actually appear to be defined anywhere which is most likely the reason why the resulting record in civicrm_saved_search contain null values in the where_clause, select_tables, and where_tables columns. There is something in form_values but when I unserialize it all I can see are unset values.