-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensure all valid relationship types are available #12891
Conversation
When adding relationships to search results, ensure all relationship types, including ones that apply to any contact, are available to choose. https://lab.civicrm.org/dev/core/issues/418
(Standard links)
|
@jmcclelland the patch looks good - but I can't figure out how to replicate this - I'm not quite sure what the desciption means |
@eileenmcnaughton i think what it means is that you need to create a relationship type where say Contact A is Individual but Contact B is ANY contact type i think if i understand right |
@seamuslee001 yep - but on what screen does it not work? |
@eileenmcnaughton from reading the lab issue i think its from the Add Relationship - to x task screen from the Advanced search options |
Thanks for reviewing this! And, I'm sorry I wrote such an opaque description. I just updated it with much more detail and screen shots. The reason is appears to be working in your screen shot Eileen - is because you are looking for the relationship in the advanced search screen. The problem is that it is missing in the screen that you get after you have searched, selected your contacts, and then selected the action to add the relationship to the found set. |
Also, anyone have suggestions on why this seems to be causing test failures? |
@jmcclelland test fails are unrelated - they are do to with the recent server crash - those concurrency ones need some magic Tim hasn't found time to sprinkle |
@jmcclelland I'm going to merge this because it does improve the situation & because it has a unit test. However, I think the screenshot below should show both Benefits specialist & Benefits Specialist is - so it seems a partial fix. Also -the find contact seems to not be an autoselect - ug. Still this is def a step in the right direction |
Overview
When adding relationships to search results, ensure all relationship types, including ones that apply to any contact, are available to choose.
https://lab.civicrm.org/dev/core/issues/418
Before
After
Now, relationship types that apply to any contact are always shown as an option when adding relationships to search results.