Closed (fixed)
Project:
Related Block
Version:
5.x-0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Aug 2008 at 09:45 UTC
Updated:
2 Feb 2009 at 14:10 UTC
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
Comment #1
nath commentedAfter further investigation, it cannot work, as it compares the sid with the nid - and those are different for the same node.
Comment #2
nath commentedI 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?
Comment #3
nath commentedAny news here?
Comment #4
spidermanThis 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.
Comment #5
spidermanActually, 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.
Comment #6
spidermanActually, 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.