I used hook_entity_property_info_alter to add two properties to an existing entity [crm_core_contact]. I find that I can see these two new properties in the "Fields" section of views, and that my views will display the values of those properties, but I cannot see these new properties in either the Sort or the Filter section of Views? Any ideas on documentation that might tell me what is going on?
Here is the code for one of the properties:
$properties = &$info['crm_core_contact']['properties']; $properties['notes'] = array( 'setter callback' => 'entity_property_verbatim_set', 'setter_permission' => 'Administer wcgopindividualinfo content', 'label' => 'NotesText', 'type' => 'text', 'schema field' => 'notes', 'getter callback' => 'entity_property_verbatim_get', 'entity views field' => TRUE, 'getter_permission' => 'Administer wcgopindividualinfo content', );
Although the Trellon documentation does not say this, I'm wondering if I need to add a hook_views_data_alter function to specify the filter and sort handlers for the properties that I added.