I have a content type where I'm using the dropbox in hierarchical select to select multiple child terms from a taxonomy vocabulary.
Simplified the Vocabulary looks like this:
TermA
-1
-2
-3
TermB
-1
-2
-3
The children 1, 2 and 3 have both TermA and TermB as parents - so there's only the three children and not six children.
Creating content, the user must select children, and is allowed to select multiple children.
It works fine when I'm selecting TermB -> 1 but if I then also add TermA -> 2, TermB -> 2 also get's selected.
So selected terms should look like this:
TermB -> 1
TermA -> 2
But it looks like
TermB -> 1
TermB -> 2
TermA -> 2
And if I then try to remove TermB->2 it also removes TermA->2
I think it is a bug - or do I have to create unique children for all of my parent terms ? (I have more than two parents, and they all need to have the same six children).
Comments
Comment #1
Milosavlevski CreditAttribution: Milosavlevski commentedAnyone working on this?
Comment #2
davidneedhamYeah, a little late but I'm also seeing this.
Comment #3
Wim LeersNo, this is impossible — sorry :(
From README.txt:
Comment #4
davidneedhamIt's not elegant, but the compromise I came to was to create unique terms for each parent. Hope this helps anyone else coming across it down the road.
For example:
- Canada
-- Active (Canada)
-- Inactive (Canada)
-- Retired (Canada)
- United Kingdom
-- Active (UK)
-- Inactive (UK)
-- Retired (UK)
- United States
-- Active (USA)
-- Inactive (USA)
-- Retired (USA)
Comment #5
Wim Leers#4: sure, but then you're no longer using the "multiple parents" functionality anymore ;)
Comment #6
davidneedham@Wim Leers: absolutely, but as you said, that's impossible. Therefore I found a solution that came to the same conclusion, albeit not as nicely as I would have liked. :-)