Skip to content

Commit

Permalink
fix: always show route_pattern_prefix_overrides trips (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlwstein authored Oct 13, 2023
1 parent eb17e43 commit 8622f50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/state/lib/state/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ defmodule State.Helpers do
Application.compile_env(:state, :stops_on_route)[:route_pattern_prefix_overrides] do
def stops_on_route?(%Trip{route_pattern_id: unquote(route_pattern_id) <> _}),
do: unquote(include?)

def stops_on_route_by_shape?(%Trip{route_pattern_id: unquote(route_pattern_id) <> _}),
do: unquote(include?)
end

# Ignore alternate route trips and trips with a trip-specific route type
Expand Down

0 comments on commit 8622f50

Please sign in to comment.