Closed (duplicate)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.8
Component:
nodereference.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2008 at 16:04 UTC
Updated:
5 Nov 2010 at 05:39 UTC
Comments
Comment #1
crocodyl commentedInteresting, I am trying to do the exact opposite, maybe you can help.
I just want to display the node id, and another value. They both show up in the view and in the node reference picklist, but not on the published page. Any ideas?
Comment #2
threexk commentedComment #3
doublejosh commentedHello,
What's the best way to pass the user's id to the view for the node reference? I don't seem to be getting it by just listing "uid is author." I've had success by just doing "current user is author", but what about actually passing variables?
Comment #4
karens commentedClosing old issues. None of us is using the D5 version any more, so hard to provide any support. Sorry.
Comment #5
Chris Gillis commentedI think this should be reopened, as the issue still exists in D6.
In summary,
The issue occurs when creating a node reference field and filtering it by selecting a view.
If my view uses the node "title" field, everything works fine.
If my view uses a different field, then my noderef widget will list the view output, AND the node title, separated by a hyphen. It seems that it should ONLY output what the view outputs.
(I'm using a select list, haven't tested with autocomplete)
Comment #6
Chris Gillis commentedJust found the same issue here with a nice workaround in #16
http://drupal.org/node/303209