I have a series of BEF select boxes, each with the 'override "Any"' in use. After submitting a search, the select lists for which no selection was made continue to display my override form "Any" as default, with the exception of the select list for a date field. This has a views date field, set to be formatted as 'Year'. The Views filter is set to display content which 'Contains' any given year. After submitting a search, the override for "Any" is replaced by '-Year'. The overrides for the other Views fields which contain text strings continue to function normally. Any help will be appreciated.

Comments

John_B created an issue. See original summary.

namwebs’s picture

I have the same issue with a Year field. Did you find a solution?

John_B’s picture

No. I will have to return to it if the client asks about it again (not unlikely); for now I am not working on it.

namwebs’s picture

I found a workaround based on an entry here: https://www.drupal.org/node/1145552 (the post by jerrylow) which seems to do the job. Basically I just changed one line in the file module/date/date_api/theme/theme.inc

from:
return t('Year', array(), array('context' => 'datetime'));

to:
return t(' Any -', array(), array('context' => 'datetime'));

I don't know if t has any negative side-effects though...

costellofax’s picture

I am having the same problem.

Neslee Canil Pinto’s picture

Status: Active » Closed (won't fix)

Hi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).