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.
| Comment | File | Size | Author |
|---|---|---|---|
| HTML_tags.patch | 698 bytes | cardina1 |
Comments
Comment #1
yched commentedDuplicate of #407344: Userereference from views is showed with HTML, fixed in -dev