diff --git a/src/Service/UwNodeFieldValue.php b/src/Service/UwNodeFieldValue.php index 11ff7efabfae8945ea0870948a4e0599ea765924..021368828ab94c9f02bdb901298eacdce363d54c 100644 --- a/src/Service/UwNodeFieldValue.php +++ b/src/Service/UwNodeFieldValue.php @@ -704,9 +704,6 @@ class UwNodeFieldValue { // Get the date query parameter. $date_parameter = $this->requestStack->getCurrentRequest()->query->get('date'); - // Get the date type query parameter. - $date_type = $this->requestStack->getCurrentRequest()->query->get('date_type'); - // If there is a date query parameter, convert // to timestamp so we can compare against dates // in the event. If there is no parameter, set @@ -724,9 +721,9 @@ class UwNodeFieldValue { // ISTWCMS-5088: we need to ensure that at least // some dates show on the node page, so let's just - // display them all or if operator is >=. + // display them all. // If not node page, only get dates in the future. - if ($view_mode == 'full' || ($date_type !== '>=')) { + if ($view_mode == 'full') { $return_dates[] = $this->getDate($date, 'event'); }