Skip to content
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

CRM-19754 case role relationships created with wrong direction #9560

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

aydun
Copy link
Contributor

@aydun aydun commented Dec 19, 2016

Problem only seems to occur for defined roles that are unassigned.
'Add new role' already works correctly.


Problem only seems to occur for defined roles that are unassigned.
'Add new role' already works correctly.
aydun added a commit to aydun/civicrm-core that referenced this pull request Dec 20, 2016
…ing assigning a role in CiviCase

Without this patch, when assigning a CiviCase role where the relationship
is defined to apply to a sub-type, all contacts are shown. If a contact
of the wrong sub-type is selected, the assignment fails.

This patch filters the displayed contacts to those of the specified
sub-type.

This includes the fix in civicrm#9560
Copy link
Contributor

@jitendrapurohit jitendrapurohit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replicated the issue and tested the changes. It works fine and adds the role as required.

@yashodha yashodha merged commit 2845ec4 into civicrm:master Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants