Closed (duplicate)
Project:
Chosen
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Jun 2012 at 14:57 UTC
Updated:
13 Aug 2013 at 14:08 UTC
When using chosen on a multi-level hierarchical select, one doesn't see the parents representing the children.
Eg, a regional based taxonomy would have Melbourne for Victoria Australia and for Florida, USA.
Searching for 'Mel' would not show you if the result was for Victoria or Florida.
A simple solution would be to show the results as follows:
Note that searching for Florida would then bring up all children results for Florida (which is normally what one expects).
I could provide a patch for this functionality if required. I just want to see if another implementation is worthwhile and get more input from the community before I begin.
Comments
Comment #1
summit commentedHi, this would be great add-on for userfriendlyness!
greetings, Martijn
Comment #2
dynamicdan commentedQuick update.. I am not really in a position to provide an update/patch for this functionality.... hoping that others can pick up the ball. Note that the dependency for 'contains vs starts with' has been resolved so that searching for 'ourne' or 'Mel' would work in the above example (if '--' is prepended).
Comment #3
Cyclodex commentedOk, so do we want to mark this fixed ? Or do you need any further changes ?
Comment #4
Cyclodex commentedComment #5
dynamicdan commentedWe need the parents of the taxonomy terms displayed in brackets next to the results (visual change). It may questionable if these new parent terms are also searchable.
Comment #6
BigBrother2010 commentedAnything new about this feature ?
Comment #7
dynamicdan commentedNothing new, still needed.
My original proposal with parent terms in brackets would be a good start. Perhaps safest to implement them without being searchable for now, especially when one has massive hierarchical lists. We may also need to truncate/trim the parents given that there could be on average at least 5 with long names...
Melbourne (Aus/Vic)
Comment #8
Cyclodex commentedSorry, I do not have a lot of time right now...
Patches are always welcome.
Comment #9
luo8 commentedHello,
this is really necessary feature,is there any plan for its implementation?
Thanks a lot
Comment #10
hydra commentedTheir has been some progress in an other issue, addressing the visual change of hierarchical select items, see #2051133: Option to show item hierarchy in every item from the list(select)
I will close that as an duplicate, since the other issue already has a patch. Thanks everyone for brainstorming on that. Patches (in the other issue) are still very welcome!