Autocomplete views filter doesn't work for views combine field.

Comments

vasike’s picture

Status: Active » Closed (duplicate)

duplicate 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.

adiatis’s picture

Sorry, 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

Anonymous’s picture

Status: Closed (duplicate) » Active

Issue #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'.

rajeevk’s picture

@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.

mmakela’s picture

I 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?

dshields’s picture

I could really use this feature as well!

lesleyfernandes’s picture

Same here

  • vasike committed 4773fbe on 7.x-1.x
    Issue #1877774 by adiatis, michamilz, RajeevK, mmakela, dshields,...
vasike’s picture

Title: Autocomplete views filter doesn't work for views combine field. » Autocomplete handler for Combine fields filter
Issue summary: View changes
Status: Active » Needs review

There 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.

markabur’s picture

I'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?

Adon Irani’s picture

This 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

vasike’s picture

Status: Needs review » Fixed

As there is a new version around this new feature, i think we can close it.
Thank you all.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.