As seen on this production site (http://frimaerkehandleren.dk), I have a number of different exposed filters which the user can play with. This is AFTER I've changed back from 7.x-3-12
Ill3

'Cause installing 7.x-3-12 caused it to look like this:
Ill1

The Leave blank for all. Otherwise, the first selected term will be the default instead of "Any". is displayed under the Dropdown with Terms.

In the backend the View looks like this:
Ill2

Again we see the Leave blank for all. Otherwise, the first selected term will be the default instead of "Any". under the list of terms.

I don't see any ways to turn this text off and I shouldn't have to, the way I see it. The text is refering to backend configuration, so it appears to me that it's a bug.

If there's an easy way to remove the text, that I've overlooked please let me know.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

William H. Olesen created an issue. See original summary.

William H. Olesen’s picture

Issue summary: View changes
FileSize
275.27 KB
136.58 KB
William H. Olesen’s picture

Issue summary: View changes
William H. Olesen’s picture

Issue summary: View changes
FileSize
84.94 KB
William H. Olesen’s picture

FileSize
29.04 KB

It might be important to note, that this behaviour does not occure below drowndowns using Grouped filters containing date-filtering like at another of my sites here:
Ill4

tdurocher’s picture

Yes, for me too. Besides being confusing, messed up formatting for my inline filters.

tdurocher’s picture

I now see this is a duplicate of https://www.drupal.org/node/339384. My workaround is to add the following css:
.view-my-view .views-exposed-widgets .description {
display:none;
}

Note that this may hide descriptions that you DO which to display so may not work for everybody. Could probably get a more specific selector in that case.

pandroid’s picture

+1
Issue for us too.

donaldp’s picture

I see this as well, but also note that 3.12 is officially broken and I've reverted to 3.11. I've not tried 3.13 yet to see if this issue persists...

William H. Olesen’s picture

The issue persists with 3.13 - at it again :(

EDIT: When reverting to 7.x-3.11 I find that the mentioned backend helptext (Leave blank for all. Otherwise, the first selected term will be the default instead of "Any".) which appears in the frontend, does not appear in the backend in 7.x-3.11 as it does in the later versions.
So from 3.12 a helptext was inserted for the backend which also appears in the front end - at least for me and a few others.

As stated in #7 one can of course CSS ones way out of it, but making it disappear all together seems like the best long term solution to me.

nerida’s picture

Issue for me too

dhalbert’s picture

Status: Active » Closed (duplicate)
Related issues: +#339384: Default option <Any> not set in exposed filters when terms are selected

Closing as a duplicate of #339384: Default option <Any> not set in exposed filters when terms are selected. But I'll mention one way to get rid of this for now is to use String Overrides to replace the text with nothing.

capogeannis’s picture

+1... using CSS band-aid to hide it. No bueno.

Niek_Kloots’s picture

I solved it by removing line 198
#description' => t('Leave blank for all. Otherwise, the first selected term will be the default instead of "Any".'),
from modules/views/modules/taxonomy/views_handler_filter_term_node_tid.inc

sustainablesolutionsnz’s picture

Thanks Niek_Kloots

Schroeffu’s picture

Same happen to me.
Will try #14

stephesk8s’s picture

This still exists in 3.13. Removing the line worked for me. Thank you @Niek_Kloots. Hopefully this will be fixed in 3.14 so I don't have to try to remember to remove it again.

jrz’s picture

#14 works for me

ron_s’s picture

There's no need to hack the module, use String Overrides, or write a hook function.

A patch has already been committed to the -dev branch and is available here:
https://www.drupal.org/node/339384#comment-10587426

tyners’s picture

#14 works for me. Thanks, Niek_Kloots!

Cisse’s picture

I'm using the String Override module to replace Leave blank for all. Otherwise, the first selected term will be the default instead of "Any". to blank. Easy and fast. Also handy to replace other original strings in Drupal.

Happy Scientist’s picture

Thanks Niek_Kloots! You solved my problem.

alanom’s picture

This appears to be fixed in the latest Views 7.x-3.x-dev release but still not in any Views stable release.

ron_s’s picture

@alanom, just apply the patch I linked to in #19.

creact’s picture

#14 worked for me too. Thanks a million.

jmart’s picture

I use Views in a multisite environment. I'm not going to install String Override on all the sites. So I hacked Views. Thanks #14.

jaesperanza’s picture

I fixed this by "hiding" the helptext message from being displayed using CSS.
.description {
display: none;}
I am not sure though if this poses any security risk. I think this is better than hacking Views or at least until patch is included to the current version.