From 9535ff3d92c657eda3c67b831836c0bd49917ce8 Mon Sep 17 00:00:00 2001 From: Nick Stein Date: Fri, 14 Jun 2024 16:33:09 -0400 Subject: [PATCH] fix: don't apply filter to glides trips (#356) --- lib/concentrate/group_filter/trip_descriptor_timestamp.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/concentrate/group_filter/trip_descriptor_timestamp.ex b/lib/concentrate/group_filter/trip_descriptor_timestamp.ex index e0485394..97c21e7f 100644 --- a/lib/concentrate/group_filter/trip_descriptor_timestamp.ex +++ b/lib/concentrate/group_filter/trip_descriptor_timestamp.ex @@ -12,5 +12,9 @@ defmodule Concentrate.GroupFilter.TripDescriptorTimestamp do {TripDescriptor.update_timestamp(td, timestamp), vps, stus} end + def filter({%TripDescriptor{route_id: "Green-" <> _}, _, _} = glides_trips) do + glides_trips + end + def filter(other), do: other end