Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291711

Operators in views UI missing for date field

$
0
0

I was attempting to create a view that shows events in the future, so wanted to show only items where the date field is greater than today's date. The necessary operator (greater than) is missing, as are several other operators such as "less than", "less than or equal to" etc. I tried this with the field "number of comments" and the operators were present - so perhaps it's just something that affects the field of type "date".

Steps to reproduce:

  1. Install Drupal 8
  2. Create a content type and add a field of type "date"
  3. Create a view and attempt to filter by the date field - the following operators are missing:
  • Is less than
  • Is less than or equal to
  • Is greater than or equal to
  • Is greater than
  • Is between
  • Is not between

Without this, I can't create an event listing through the UI.


Viewing all articles
Browse latest Browse all 291711

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>