It seems the exclusion of the current node from the block doesn't work. At least on our site, the current node is always the top listed in the block.

Comments

nath’s picture

After further investigation, it cannot work, as it compares the sid with the nid - and those are different for the same node.

nath’s picture

I think, one has to look, what the nid of the node behind the sid is. We don't have that nid at the time of comparing. But what to do? Doing a node_load is probably overkill, but is there a simpler way?

nath’s picture

Any news here?

spiderman’s picture

Assigned: Unassigned » spiderman

This should also be a relatively easy thing to accomplish, but it sounds like it might require rethinking how the query is built in the first place. I'll try to look into this shortly.

spiderman’s picture

Status: Active » Fixed

Actually, according to the revision log here: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/related_blo..., this was fixed as of revision 1.7.

Please re-open with further details of how to reproduce if this is still happening.

spiderman’s picture

Actually, according to the revision log here: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/related_blo..., this was fixed as of revision 1.7.

Please re-open with further details of how to reproduce if this is still happening.

Status: Fixed » Closed (fixed)

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