Forums › Forums › Search & Filter Pro › Multi select predictive search
- This topic has 1 reply, 2 voices, and was last updated 11 years, 6 months ago by
Ross.
-
Anonymous(Private) March 13, 2015 at 12:39 am #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/FxAUthanks for any help.
Ross Moderator(Private) March 13, 2015 at 4:18 am #13339Hey 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
-
AuthorPosts