Hallo,

Prepare:
I have drupal 6.10 with Views 6.x-2.3 and CCK 6.x-2.2. Configure the content type 'foo' with noderefernce field 'nref'. 'Nref' gets its values from view 'values view'. Then I add new view 'list view' with the list of 'foo' and exposed filter by 'nref' field.

I get in the 'list view' page:
The exposed filter select box with values like:
'{item1}'
'{item2}'

I expect:
The exposed filter select box with values like:
{item1}
{item2}

I noticed that the 'hook_allowed_values()' in nodereference.module returns the rendered values list $options[$key] = $value['rendered'];
when I change this hook to return value titles everything looks fine
$options[$key] = $value['title'];

Here is a patch. Please review it.

CommentFileSizeAuthor
HTML_tags.patch698 bytescardina1

Comments

yched’s picture

Status: Needs review » Closed (duplicate)