Hi!

When i try to put certain content fields as filter with dropdown box, it show's them like this:
Team 1

The filter works, but i cannot use them exposed because they look like that, and exposing would be very important in my case.

It seems to happen atleast when the source fields are node-reference or user-reference fields in the original node(i'm using realname module, and the ouput for user-reference field looks little bit different, but basicly the same.. the classes are just different).

Comments

bfr’s picture

Oops, the html was stripped off ofcourse, new attempt:

<span class="views-field-title"><span class="field-content"> Team 1</span></span>

and it should ofcourse show only "Team 1"

merlinofchaos’s picture

Status: Active » Closed (won't fix)

If the filters are a userrreference then you should file this against the module providing those filters, as the submission instructions say.

bfr’s picture

Like i said, it affects atleast user AND node reference, possibly some others also. And since the dropdown boxes work ok in other places(when creating a node for example), i figured
the problem could be in views. Are these(and other cck) fields "detected" by views or has the developers of the reference modules made something to pass the fields to views filter?

junedkazi’s picture

Project: Views (for Drupal 7) » Content Construction Kit (CCK)
Version: 6.x-2.5 » 6.x-2.x-dev
Component: exposed filters » Views Integration
Status: Closed (won't fix) » Fixed

@bfr

There is a similar issue in the cck module. Refer to #436866: HTML tags in item list of exposed filter .
And it is fixed in the 6.x-2.2 + branches.

try and upgrade ur cck module and if the problem still persists
pls open this issue again.

bfr’s picture

Installed cck 6.x-2.4 and now it works perfectly! Thanks for the solution!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.