Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.5
-
Fix Version/s: 2.2.6
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
Views filters that use a select/multiselect present 4 options as to how the filter works:
Is one of
Is not one of
Is empty (NULL)
Is not empty (NULL)
One of these should be selected by default. However, with the CiviCRM Views filters, none of them are selected - so if the user fails to select one they end up with a broken filter. This is especially true when they expose the filter as they end up with no dropdown at all.
Attached patch fixes this by ensuring that all civicrm views filters call parent::construct() in their construct() override.