Skip to content
Snippets Groups Projects
Commit 16d350c7 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5337: return proper values for project members

parent 8364fa25
No related branches found
No related tags found
1 merge request!216Feature/istwcms 5337 project merge
......@@ -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');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment