Closed MegaphoneJon closed 3 years ago
Thanks for reporting this @MegaphoneJon I don't entirely understand the issue; could I ask you to restate it in a "do this, then observe that" style?
Sure!
I realized how to handle this. On install (or maybe post-install - not sure if install hook runs before or after hook_civicrm_managed
) one should do an API query for all existing RelationshipType records and update them by setting the new custom field to 1
.
Attention @lucky091588.
Fixed in PR #16.
In your comments on #5 you asked me to to default the value of "generate tokens for this relationship" to "yes", which I did. However, that doesn't actually generate records in the custom value table; you need to edit and save a relationship for the change to take effect. I'm not sure how to fix that but I thought I'd report the bug I created :)