From 9c501d25007bfbca9b680efae28dc114692616a4 Mon Sep 17 00:00:00 2001 From: Chris Kim Date: Wed, 29 Nov 2023 15:57:46 -0800 Subject: [PATCH] remove filtered function --- src/site/layouts/health_care_region_page.drupal.liquid | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/site/layouts/health_care_region_page.drupal.liquid b/src/site/layouts/health_care_region_page.drupal.liquid index 4454bd4559..25b6bab310 100644 --- a/src/site/layouts/health_care_region_page.drupal.liquid +++ b/src/site/layouts/health_care_region_page.drupal.liquid @@ -186,8 +186,7 @@ {% elsif eventTeasersAll.entities.0.reverseFieldListingNode.entities.length %} {% assign upcomingEvents = eventTeasersAll.entities.0.reverseFieldListingNode.entities %} - {% assign filteredEvents = upcomingEvents | filterPastEvents %} - {% assign sortedEvents = filteredEvents | sortByDateKey: 'fieldDatetimeRangeTimezone', false %} + {% assign sortedEvents = upcomingEvents | sortByDateKey: 'fieldDatetimeRangeTimezone', false %}