Is there a way in views to return 1 node that was published before the current node being viewed and the 1 node after?
Currently I have a view using a contextual filter which is the current NID from URL but I can't find a way to pass that to the filter criteria.
Is it possible? It can be split in to 2 views if needed so in 1 I get the previous node and the other I get the next one.
current nid = 2
View returns 1, 3