- 🇧🇪Belgium andreasderijcke Antwerpen / Gent
andreasderijcke → changed the visibility of the branch 3029652-add-functionality-to to hidden.
- 🇧🇪Belgium andreasderijcke Antwerpen / Gent
andreasderijcke → changed the visibility of the branch 3029652-add-functionality-to to hidden.
- 🇧🇪Belgium andreasderijcke Antwerpen / Gent
andreasderijcke → changed the visibility of the branch 3029652-add-functionality-to to active.
- Merge request !21Issue #3029652 First version of TimeRange views filter. → (Open) created by andreasderijcke
- 🇧🇪Belgium andreasderijcke Antwerpen / Gent
Added a first proposal for views filter for TimeRange field, as extend on the core numeric filter:
- Scrapped the regex operations, as they make no sense with time input.
- The 'is empty' operation does not work if there is no field record at all, see comment in code.
- Definitely needs more work and testing.
In my case it's a view of nodes with paragraph having the timerange field.
While writing this down, I realise I've been confusing the 'from' and 'to' input of the between filters with the 'from' and 'to' from the TimeRange field, and the filter would just as well work on the regular Time field.
If that's true, then rename of the filter class is recommended.