From 7ac53456d55e5803ae65cfe6144d5d4f105ef616 Mon Sep 17 00:00:00 2001 From: mattclegg Date: Mon, 12 Aug 2013 12:04:48 +0100 Subject: [PATCH] MINOR case sensitive comparison ExactMatchFilter::setModifiers() case sensitively compares against array('not', 'nocase', 'case') --- code/CalendarEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CalendarEvent.php b/code/CalendarEvent.php index 01a5197..0ba8e9e 100755 --- a/code/CalendarEvent.php +++ b/code/CalendarEvent.php @@ -181,7 +181,7 @@ public function OtherDates() { return DataList::create($this->data()->getDateTimeClass()) ->filter(array( "EventID" => $this->ID, - "StartDate:ExactMatch:Not" => $date + "StartDate:ExactMatch:not" => $date )) ->sort("StartDate ASC") ->limit($cal->OtherDatesCount);