Skip to content

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

Open
jitendrapurohit wants to merge 1 commit into
civicrm:7.x-masterfrom
jitendrapurohit:drupal-58
Open

dev/drupal#58 - Add Contact ID operator to the contact reference filt…#579
jitendrapurohit wants to merge 1 commit into
civicrm:7.x-masterfrom
jitendrapurohit:drupal-58

Conversation

@jitendrapurohit

@jitendrapurohit jitendrapurohit commented Apr 22, 2019

Copy link
Copy Markdown
Contributor

…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

civibot Bot commented Apr 22, 2019

Copy link
Copy Markdown

(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