Multi select predictive search

Forums › Forums › Search & Filter Pro › Multi select predictive search

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #13331

    Hi
    I have a multiselect box which searches a custom taxonomy which is hierarchical. the small problem i am having is that when you type in the name of a level 2 taxonomy the predictive search can’t find it. it can find all top level taxonomies and you can use the drop down list to select the level 2 taxonomy with your mouse, but not matter how you type the taxonomy value in it says it has no results.

    I can also untick the Hierarchical? option and it will search and find all results but this does show any level 1 results so this wont work for me.

    screenshots
    http://grab.by/FxB0
    http://grab.by/FxB4
    http://grab.by/FxAU

    thanks for any help.

    Ross Moderator
    #13339

    Hey Jonathan

    This is a bug – this is because the combobox is wrapped around a html multiselect.. and the way to show hierarchical in multiselect is to prepend the the child terms with spaces ” ” – so when you type in the search box, I believe it doesn’t find anything because of this.

    I’m including a fix for this in the next major update (v2.0) – should be released early April.

    That being said, when you don’t use hierarchical, all should be searchable including level 0.

    As an FYI, we’re using Chosen on the comboboxes (http://harvesthq.github.io/chosen/) but I think I will be changing this to select2 (https://select2.github.io/examples.html) – it provides a better API amongst other things – which I believe will resolve this issue.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.