Currently when I have an exposed filter where it defaults to "Any" for showing all items. Is there a way to change this to say the field label?

For example if the field is called Training, it would say "Training" instead of Any.

Like many other sites, the design is to have it show like this:

Filter by: [Training]

instead of

Filter by: [Any]

Comments

ivan zugec’s picture

Status: Active » Fixed

In Views 3.x for both Drupal 6 and 7 you can switch between "" or "- Any -" for filter. However, there is no setting to change "Any" to a custom word.

You could look at doing a hook_form_alter or change it with JavaScript.

Status: Fixed » Closed (fixed)

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