Right now the only way to override the "Any" label in the exposed form is through form alter.
The attached patch will give the user the option to override the default "Any" label with a custom label.

For example if content type filter is exposed right now it shows

<Any> OR - Any -
Article
Basic Page

But with the attached path it gives an option to override the label with a text field. And it can look in any of the 2 default formats based on the default formats selected at the views setting level
<Content Type> OR - Content Type -

Created a similar feature request in core at
#2035941: override label for "Any" value on non-required single-select exposed filters per exposed field

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

junedkazi’s picture

junedkazi’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, override_views_exposed_any_label-2035945-1.patch, failed testing.

junedkazi’s picture

junedkazi’s picture

Status: Needs work » Needs review
ycshen’s picture

nice feature
i have tested it,really good patch.

aimeerae’s picture

I have tested patch in #4, it works as expected and very intuitive. Thank you, very nice, very useful.

jags880’s picture

Nice patch! Do you know how I might be able to get this option on grouped filters?

linuxsn’s picture

hi , i'm newbie .does a patch only work for the version specified ?

FNGR’s picture

really really nice patch! long time i looked for that!!

thank you

chrisgross’s picture

Issue summary: View changes

FYI, the Better Exposed Filters module has this feature, as well.

That being said, this patch does work for me.

chrisgross’s picture

Status: Needs review » Reviewed & tested by the community
colan’s picture

We've recently switched our testing from the old qa.drupal.org to DrupalCI. Because of a bug in the new system, #2623840: Views (D7) patches not being tested, older patches must be re-uploaded. On re-uploading the patch, please set the status to "Needs Review" so that the test bot will add it to its queue.

If all tests pass, change the Status back to "Reviewed & tested by the community". We'll most likely commit the patch immediately without having to go through another round of peer review.

We apologize for the trouble, and appreciate your patience.

jenlampton’s picture

RTBC from me as well.

riddhi.addweb’s picture

Issue tags: +exposed filters

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 4: override_views_exposed_any_label-2035945-4.patch, failed testing. View results