Follow-up to #2046537: End with "any" label configuration to improve consistency and localization
Problem/Motivation
Due to translation issues, the "<Any>" string has been removed from most part of View in Core now. But, the setting to choose this default value for exposed filters select boxes still exists and pollutes the translatable strings for nothing really valuable.
Proposed resolution
Remove this setting and always use "- Any -" as default value for exposed filters select boxes.
Remaining tasks
| Task | Novice task? | Contributor instructions | Complete? |
|---|---|---|---|
| Create a patch | Instructions |
User interface changes
- The Label for "Any" value on non-required single-select exposed filters setting is removed from Views basid settings form.
- Views' non-required single-select exposed filters always defaults to "- Any -"
API changes
None.
Data model changes
The views.settings ui.exposed_filter_any_label value will not exist anymore.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | remove_exposed_filter_any_label_setting-2644584-6.patch | 3.31 KB | duaelfr |
Comments
Comment #2
hass commentedComment #3
dawehnerWell, removing support for it, even people might use it still, is IMHO just possible for Drupal 9.
Comment #4
duaelfrIt just changes a label in the UI.
Does it really need to be backward compatible?
Comment #5
dawehnerIt all depends how strictly you deal with BC. Maybe some code is relying on that value for example.
Comment #6
duaelfrHere is a patch.
Let's see what the testbot think about it first, then ask maintainers their point of view.
Comment #23
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #24
smustgrave commentedReads more like a feature request and is this something we want to do?