Make exposed date filter operators terminology friendly to non-technical website visitors

Created on 19 March 2015, over 10 years ago
Updated 13 June 2025, about 2 months ago

In Drupal 8 beta 7

1. Go to /admin/structure/views/view/content
2. Under Filter Criteria, click Add
3. Check Content: Changed
4. Click Apply (all displays)
5. Check Expose this filter

Steps 6-9 necessary until #2248223: Adding a new Views filter and making it exposed returns user back to list of filters โ†’ is fixed:
6. Click cancel
7. Under Filters, look at Content: Changed (= )
8. Under Filters, click Content: Changed (= )
9. Check Expose this filter

10. Check Expose Operator
11. Click Apply
12. Save the view
13. Go to /admin/content
14. Click the dropdown

Actual: Operators read:

Is less than
Is less than or equal to
Is equal to
Is not equal to
Is greater than or equal to
Is greater than
Is between
Is not between
Regular expression
Is empty (NULL)
Is not empty (NOT NULL)

Such language, while technically correct, is not the language the average person would use when talking about dates.

Expected: Operators read (for dates with day, month, or year granularity):

Is before
Is on or before
Is on
Is not on
Is on or after
Is after
Is between
Is not between
Regular expression
Is not present
Is present

Expected: Operators read (for dates with hour, minute, or second granularity):

Is before
Is at or before
Is at
Is not at
Is at or after
Is after
Is between
Is not between
Regular expression
Is not present
Is present

(Filing a separate issue re ability to hide particular operators.)

โœจ Feature request
Status

Postponed: needs info

Version

11.0 ๐Ÿ”ฅ

Component

views.module

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States charles belov San Francisco, CA, US

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024