- Issue created by @markusa
- π¬π§United Kingdom tonyhrx
This issue also there with Activity Type Ids
- π¬π§United Kingdom Vali Hutchison
I'm also getting a similar error for filtering by Event Type. Views gives me the error message:
No valid values found on filter: CiviCRM Event (CiviCRM Entity): Event Type.
The PHP error log gives:
Uncaught PHP Exception Error: "Attempt to assign property "type" on null" at /web/core/modules/views/src/ManyToOneHelper.php line 251
- πΊπΈUnited States markusa
WIP/Draft PR for activity_status and activity_type_id properties
https://github.com/eileenmcnaughton/civicrm_entity/pull/460
The changes which Core filter plugin is used for these properties.
This may not be the final solution. We're considering what is best. The error seems like a Core issue
https://www.drupal.org/project/drupal/issues/2829178#comment-13751033 π Views Term ID has broken filters ("All of", "Is none of") and contextual filters "allow multiple" Needs workOr its very similar.
Note if you use this PR, you will need to clear Drupal caches, and edit the View to adjust settings for the filter plugin
- πΊπΈUnited States markusa
This WIP PR, it will make it so there is no "Is All of" operator
Changing to IN or NOT IN
This seems ok to me, as no activity would ever have 2 statuses, nor event types (not fixed in PR yet)