I am using a nodereference field with a view to filter the available nodes. The view has two fields - Node: Title and Taxonomy: Term. When I show the view in the Views live preview, it displays duplicates, since many nodes are tagged with more than one taxonomy term. When I add a node reference field to a content type, I
Steps to reproduce:

  1. Install Drupal 6.19, Views 6.x-2.11 and CCK 6.x-2.8
  2. Create a taxonomy vocabulary and several terms.
  3. Create several pages and tag them with multiple taxonomy terms from the vocabulary you just created.
  4. Create a view with two fields - Node: Title and Taxonomy: Term. Add two filters - Published Yes and Taxonomy: Vocabulary =
  5. Add a node reference field to a content type. Make it a select list, not required, and with an unlimited number of values. Select the view you created to filter the node reference field.
  6. Compare the results of the view you created on the Views preview and the list of nodes in the node reference field. Notice that there is one entery per node per taxonomy term in the Views preview, but only only one entry per node in the node reference field. My desired behavior was to have the node reference field display the exact same choices for selection as the view.

Comments

jergason’s picture

Title: Nodereference with view produces different list of nodes than view » Node reference with view produces different list of nodes than view
domarques’s picture

Here too :(

madjr’s picture

same, subscribing

there seem to be some wrong or incomplete parameters in the code that dont let the view show up properly in the node reference part of the form in the node edit page

i wonder if this is happening only with 2.8 or is an old issue

----edit
yeah, 2.6 has same problem, so is an old unfinished issue.

also this another issue, seems to be part of the same problem:
#942022: A Nodereference field isn't honoring the items per page limit set in the "allowed values" view (buggy views display)