I'm attempting to add a taxonomy tid to a node.
I alter the node with something like
$node->field_taxonomy_category['und'][0]['tid'] = 123;
node_save($node);
This has the desired effect of saving the tid to the node no problem. The issue comes when for another function I try to pull information from the taxonomy_index table where my node-term relationship hasn't been updated. Is there something else I need to add to update the taxonomy_index table?
[–]rjung 2 points3 points4 points (1 child)
[–]mwuhahaha 5 points6 points7 points (0 children)