Custom field values not showing in Drupal 7 Views filter
When a custom field is created with a specified
column_name, the field does not work correctly when used as a Drupal 7 Views filter.
Custom fields created via the UI, or by API when the
column_name is not specified all work as expected.
- Create a Custom Field via API extending Contact, type Select (drop-down) and set the
column_name. Create a few option values.
- Set up system for Views (copy from
Administration > System Settings > CMS Integrationetc)
- Create a View based on Contacts, add a Filter and select the custom field
- Note an AJAX error including
Unsupported operand types in views_handler_filter_in_operator->value_form()
For the same problem but using a different handler, repeat with Checkbox type.
Error shown and no filter values shown.
No error, filter values shown
- CiviCRM: Master