My node type has a paragraph bundle field which including a taxonomy terms field, but in my views, the node just not showing up by filtering this taxonomy terms, if the terms field not in the paragraph bundle, the node will show, but its in the paragraph bundle, the node won't show, please advise if I am missing something or this is the problem of views ?

CommentFileSizeAuthor
#3 pr.png28.44 KBfreelylw

Comments

freelylw created an issue. See original summary.

damienmckenna’s picture

Title: Paragraphs doesn't work with views ? » Taxonomy term via Paragraphs field
Component: Miscellaneous » User interface
Category: Bug report » Support request

This is an architectural issue. A filter only works on data that is actually being queried, i.e. the term filter searches term fields that are on the content type.

Term entity -> Node entity

If you have a paragraphs field with a term field on it there is a whole extra entity system sitting between the term and the node:

Term entity -> Paragraph entity -> Node entity

In order to filter the term in this scenario you need to add a relationship on the paragraph, which will then let you see the fields from the paragraph, including the term reference field.

Does this help you understand it?

freelylw’s picture

StatusFileSize
new28.44 KB

Thanks, I have added the relationship with the paragraphs in my views, and I can add all the fields from the paragraphs bundles, and add the terms as the filter in the "FILTER CRITERIA" section, but the node which including the paragraph bundle just never showup in the result. am I missing something ?
ss