Plugin 'taxonomy_index_tid' and 'taxonomy_index_tid_depth' both are using CshsTaxonomyIndexTid which extends TaxonomyIndexTid and hence the properties of TaxonomyIndexTidDepth is not inherited and not used.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

purushotam.rai created an issue. See original summary.

purushotam.rai’s picture

Status: Active » Needs review
FileSize
5.07 KB
purushotam.rai’s picture

Title: Has Taxonomy Term (with Depth) filter now working » Has Taxonomy Term (with Depth) filter not working (Views)
navneet0693’s picture

Status: Needs review » Reviewed & tested by the community

works smooth :-)

Peacog’s picture

I just ran into this bug and can confirm that this patch fixes it for me. Thank you!

ultimike’s picture

+1 for this patch. Tested and appears to be working for me.

-mike

BR0kEN’s picture

Assigned: Unassigned » BR0kEN
Status: Reviewed & tested by the community » Needs review
FileSize
9.79 KB
12.64 KB

I don't want to have complete copy of CshsTaxonomyIndexTid.

Peacog’s picture

Nice patch! It works for me.

BR0kEN’s picture

Needs a bit more reviews before I commit this.

gngn’s picture

Patch #7 worked for me.
Thank you.

  • BR0kEN committed 62b7fac on 8.x-1.x
    Issue #2855485 by BR0kEN, purushotam.rai: Has Taxonomy Term (with Depth...
BR0kEN’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

x.meglio@gmail.com’s picture

I just updated to Drupal 8.4.2 and experience this problem. Only "All" selection works. As soon as I choose any of the terms in the tree, the views keeps rendering zero results. I also checked the source code and can see the commit mentioned above to 8.x is not included. Does it mean I still have to apply the patch manually?

UPD. Sorry I realized this is a module issue, not Drupal core.

However, the problem described is also true for the core. Would you recommend reporting it in Drupal Core?