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.
Autocomplete views filter doesn't work for views combine field.
Autocomplete views filter doesn't work for views combine field.
Comments
Comment #1
vasikeduplicate of #1880176: Allow combined fields in autocomplete results
actually the second one it's the duplicate, but i'm closing this as the other has a patch.
Comment #2
adiatisSorry, I didn't give much information.
There is only a filter handler for string fields and not for fields of the 'combine' type.
Nevermind, I don't need it anymore. I use the http://drupal.org/project/views_filters_populate now to combine search. Autocomplete will be custom
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedIssue #1880176: Allow combined fields in autocomplete results wants to combine fields in the result of views autocomplete filter. This issue is to request views autocomplete filter to work with the filter 'Global: Combine fields filter'.
Comment #4
rajeevk@michamilz - Yes you are right. I also got confused, how that is related with this GLOBAL: COMBINE FIELD FILTER exposed field. This module doesn't work with it & it's a great feature request.
Comment #5
mmakela CreditAttribution: mmakela commentedI agree that getting autocomplete to work on GLOBAL: COMBINE FIELD FILTER exposed field would be great. Does anyone have an idea how to start coding this and how difficult it will be?
Comment #6
dshields CreditAttribution: dshields commentedI could really use this feature as well!
Comment #7
lesleyfernandes CreditAttribution: lesleyfernandes commentedSame here
Comment #9
vasikeThere is a commit that should implement the Autocomplete handler for Combine fields filter.
We need some testing here, before closing this feature request, so please let me know if it works for you the latest dev version of the module.
Comment #10
markabur CreditAttribution: markabur commentedI've tried it and was able to have autocomplete suggestions for a Global Combine Fields field, so that works.
Is there a way to choose what appears as suggestions? E.g. if I have Title and Body in a combined field, is there a way to have the Title always show in the suggestion list, even if the match was found in the Body?
Comment #11
Adon Irani CreditAttribution: Adon Irani commentedThis is working for me [search from Body and Title] -- but i need the display to be from Title only, even if match is from Body.
Can you suggest how this can be done?
Kind regards,
Adon
Comment #12
vasikeAs there is a new version around this new feature, i think we can close it.
Thank you all.