I'm trying to figure out how to make a view of nodes that are either older or younger than the current one - in other words how do I use the publish date of the current node as a filter? I can see hoe to make it an argument but the jump from there to using it as a filter is unclear (it would be so nice if I could put arg(0) in the filter default value and have it just work)

Comments

dawehner’s picture

Quite good question.

You could sure use hook_views_pre_query and change the filter settings.

esmerel’s picture

Status: Active » Closed (fixed)

Solution suggested, no response.