How to reproduce:
- Create 2 vocabularies (unique, required), with at least 1 term in each
- Create a node and assign it a term of each vocabulary
- Create a node based view with a related term relationship set as required and select only one of the 2 vocabulary
Result:
The clause for restricting to the specified vocabulary is missing, and the content is duplicated in the results.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views-vocabulary-skipped-when-term-relationship-required-1333702-1.patch | 827 bytes | b-prod |
Comments
Comment #1
b-prod commentedThis patch fixes the described issue.
Comment #2
dawehnerThe filter is already executed above, what about reusing the variable?
Things like that are probably only fixed for 6.x-3.x
This issue doesn't matter for 7.x-3.x anymore, maybe 6.x-3.x should get a similar structure.
Comment #3
mustanggb commented