The node_taxonomy condition only works if a term_reference field is used.
terms can also be referenced by entityreference fields.
Here is a simple Patch for this Feature Request.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eyilmaz’s picture

Issue summary: View changes
eyilmaz’s picture

Status: Active » Needs review
eyilmaz’s picture

referencing the same issue from context module, maybe the way the issue solved there should be applied also here (instead of the attached patch).

skwashd’s picture

Status: Needs review » Needs work
Issue tags: +Novice

In general this looks good. I found one formatting issue - see below.

+++ context_uuid/context_condition_node_taxonomy_uuid.inc	(revision )
@@ -54,6 +54,7 @@
+            if (isset($term['target_id']))  $term['tid'] = $term['target_id'];

This needs to comply with the coding standards, namely the you need the braces and the $term assignment needs to be on a new line.

eyilmaz’s picture

Hi,

thanks for reviewing.
Here is the patch with braces.