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

dev/drupal#58 - Add Contact ID operator to the contact reference filt… #579

Open
wants to merge 1 commit into
base: 7.x-master
Choose a base branch
from

Conversation

jitendrapurohit
Copy link
Contributor

@jitendrapurohit jitendrapurohit commented Apr 22, 2019

…er added in drupal view

Contact Reference filter in a Drupal view only lets user to filter on sort_name. This field can have duplicate values on multiple contact records. It might be helpful if we could filter the results based on contact id.

Use-case

  • Add a contact ref custom field on a custom set extending individual. Eg Alternate Contact Person
  • Add value to this field eg "Ashlie Adams".
  • Suppose the db have more than one contact having the same sort name. eg id 203 and 206
  • I need to create a Drupal view filtering values which have Alternate Contact Person set to contact id 203.
  • The current set of filters will list all contacts for 203 and 206.
  • This ticket is to address that limitation, i.e, adds contact id to the list of operators -

image

Gitlab - https://lab.civicrm.org/dev/drupal/issues/58

@civibot
Copy link

civibot bot commented Apr 22, 2019

(Standard links)

@civibot civibot bot added the 7.x-master label Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant