Active
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
book data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2012 at 16:58 UTC
Updated:
19 Dec 2012 at 00:24 UTC
Hi,
there is a problem getting the value "Book root from current node" for the content:nid especially in "add forms"(via entity reference or so). If the view is called within an "edit form" or on any content node (book chapter) everything works fine.
Comments
Comment #1
Zippy commentedHi,
here is a qucik and dirty workaround.
The following code can be used inside the contextual filter. Select content:nid and for this value select "provide default value" -> choose "PHP Code". Insert the following code: