It appears that it does not take into account node revisions. When I remove node reference values from the node, they still appear in my view. The only way to get the view to reflect the current state of referenced nodes is to delete all revisions of my node.

Comments

amitaibu’s picture

I don't understand the issue, can you explain what you have in your Views?

Veggieryan’s picture

Status: Active » Needs review
StatusFileSize
new493 bytes

you need to add these lines to the query
at line 57 in the dev version.

          $vid=db_result(db_query("SELECT vid FROM {node} WHERE nid=%d", $nid));
          $query->add_where($node_reference_table. '.vid = %d', $vid);

i attached a patch against latest dev version 1.12

amitaibu’s picture

Status: Needs review » Fixed

committed, 10x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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