Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When selecting a contact using the built-in entityreference handler, it would be nice if the matching would happen on both the first name and the last name fields, ORed together.
Comment | File | Size | Author |
---|---|---|---|
#1 | redhen_contact-autocomplete_filter-2431083-1.patch | 2.82 KB | nadavoid |
Comments
Comment #1
nadavoid CreditAttribution: nadavoid commentedThe attached patch updates the existing selection handler by adding a tag and moving the conditions out to a
hook_query_TAG_alter()
so that the conditions can be ORed.Comment #2
nadavoid CreditAttribution: nadavoid commentedComment #3
levelos CreditAttribution: levelos at ThinkShout commented