I added 2 views arguments to the view used for selecting the nodes. If I make those arguments required in the view (Action to take if argument is not present: Hide view / Page not found (404)), then the dialog that opens when clicking the "Browse" button allows me to select from a correctly limited list of nodes. However, after choosing a node from that list in the dialog, pressing the ok button and afterward saving the node, I get a validation error, saying "this post can't be referenced.". This makes me believe that the arguments are not correctly passed to the view on validation. If I make the view arguments not required (Action to take if argument is not present: Display all values) then no validation errors show up.
Except for this small issue, thanks for the excellent module!
Comments
Comment #1
gnindl commentedIndeed the arguments were wrongly passed. Line 133 in nodereference_explorer.views.class.inc was changed from
to
Commas are the delimiters of arguments in nodereference fields.
Watch out the latest dev snapshot.