I need to create a view of terms from a specific vocabulary for a specific node, where the view will contain only those terms that are not assigned to that node.

I've tried various methods within Views without luck. The closest I got was to use aggregation so I could identify terms with a zero node count. I had hoped that by using the NID as a contextual filter then the view would only count based on the current node. That's not how it worked out.

Any thoughts?



  • Seems that you want this feature - it was closed (fixed) by mistake of stupid script. I fixed it's entry, but closed (can't fix) is not something that can make you happy, I'm afraid.
    – Mołot
    Jan 15, 2014 at 21:33
  • Thanks. Seems like it should be easy but ... :( Jan 17, 2014 at 18:31
  • ... but that's not how SQL queries work, and Views are heavily SQL based. There is no general way, but it is relatively easy in custom module. See here google.pl/search?q=sql+anti-join for a lot of interesting texts about that problem.
    – Mołot
    Jan 17, 2014 at 19:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.