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
Comment #2
namwebs CreditAttribution: namwebs commentedI have the same issue with a Year field. Did you find a solution?
Comment #3
John_B CreditAttribution: John_B commentedNo. I will have to return to it if the client asks about it again (not unlikely); for now I am not working on it.
Comment #4
namwebs CreditAttribution: namwebs commentedI 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...
Comment #5
costellofax CreditAttribution: costellofax as a volunteer commentedI am having the same problem.
Comment #6
Neslee Canil PintoHi, 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).