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.
Hi, I'm trying to use autocomplete filter configuration with an email field and it never finds anything. Does it work with email fields? Thanks!
Comment | File | Size | Author |
---|---|---|---|
#6 | views_autocomplete_filters-fixes_email_field-2715639-6.patch | 2.03 KB | jmdeleon |
#2 | fixes_email_field.patch | 5.04 KB | bryden |
Comments
Comment #2
bryden CreditAttribution: bryden as a volunteer commentedI was trying the same thing and it wasn't working on email fields for me either. I believe this should fix the problem for email fields.
Comment #3
bryden CreditAttribution: bryden as a volunteer commentedComment #4
jmdeleon CreditAttribution: jmdeleon commentedRe-roll of the patch in #2, producing diffs against the release version rather than the dev version, incorporating only the changes that apply to this issue.
Comment #5
jmdeleon CreditAttribution: jmdeleon commentedComment #6
jmdeleon CreditAttribution: jmdeleon commentedPatch in #6 with diff paths adjusted.
Comment #7
jfurnas CreditAttribution: jfurnas commentedI can confirm that the patch in #6 worked for me
Comment #8
jenlamptonAs per #7, marking RTBC.
Comment #9
jenlamptonThe patch in #6 is going to need a re-roll against the latest dev, but I don't think hard-coding support for email fields is the right way to go. Many field types could have columns with names other than
value
so it would be best if we could write this solution in a way that would work for all of them, or at least, in a way that might prevent the duplication of code for each option as it's added.