Hi,
How i can get it working with multiple parent terms? Is it possible?
Example:
Term 1
-Term 2
Term 3
-Term 2

Term 2 have two parent items (Term 1 and Term 3).
I was trying to get it working but im stucked. Any idea how its can be achived?
Any suggestion is welcome.

Comments

Arrok’s picture

Hi,

I managed the following workaround:

the link for the exposed filter is something like this
mysite.com/?some_field=some_value&field_shs_test_tid=27

i took with jQUery my links and rewrote them with like this
mysite.com/?some_field=some_value&field_shs_test_tid[]=27,28,29,30

now considering that 28,29 and 30 are 27's children, it will now show me all that have 27,28,29 and 30 as deepest, so it shows 27 my selected and 28-29-30, it's children.

So if you have something like this

term 1
--term2
--term3
--term4
----term5
----term6
--term7
term8

for 4 and it's children use mysite.com/?some_field=some_value&field_shs_test_tid[]=4,5,6

for 1 and it's children you must write mysite.com/?some_field=some_value&field_shs_test_tid[]=1,2,3,4,5,6,7

Hope this helps you for now until a new release comes out.

Best regards,
Arrok

stBorchert’s picture

Status: Active » Postponed (maintainer needs more info)

Did you try using "Taxonomy term with depth" filter?

stBorchert’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Issue cleanup.