From 27c5aa34f57ff0f53fdba5d6b17f9bed407b86ae Mon Sep 17 00:00:00 2001 From: Curtis Conard Date: Fri, 24 Apr 2026 06:20:55 -0400 Subject: [PATCH] allow searching future dates --- CHANGELOG.md | 1 + inc/container.class.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a969e098..bda2fc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Support for new value operators for “Field” question type linked to a field that is a dropdown in forms +- Support for searching future dates and times in date/datetime fields ### Fixed diff --git a/inc/container.class.php b/inc/container.class.php index 6968024f..a966e4df 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -2213,6 +2213,7 @@ public static function getAddSearchOptions($itemtype, $containers_id = false) case 'date': case 'datetime': $opt[$i]['datatype'] = $data['type']; + $opt[$i]['maybefuture'] = true; break; case 'url': $opt[$i]['datatype'] = 'weblink';