Loading lib/Travelynx/Helper/DBRIS.pm +4 −4 Original line number Diff line number Diff line Loading @@ -248,10 +248,10 @@ sub grep_suggestions { and $dep->destination eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_eva } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_eva } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading @@ -261,10 +261,10 @@ sub grep_suggestions { for my $via_name ( $dep->via ) { if ( $via_name eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_eva } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_eva } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading lib/Travelynx/Helper/EFA.pm +2 −2 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ sub grep_suggestions { for my $stop ( $dep->route_post ) { if ( $stop->full_name eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_id_num } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_id_num } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading lib/Travelynx/Helper/IRIS.pm +2 −2 Original line number Diff line number Diff line Loading @@ -249,10 +249,10 @@ sub grep_suggestions { for my $via_name ( $dep->route_post ) { if ( $via_name eq $dest->{name} ) { if ( not $dep->departure_is_cancelled ) { $via_count{ $dep->station_uic } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->station_uic } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading Loading
lib/Travelynx/Helper/DBRIS.pm +4 −4 Original line number Diff line number Diff line Loading @@ -248,10 +248,10 @@ sub grep_suggestions { and $dep->destination eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_eva } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_eva } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading @@ -261,10 +261,10 @@ sub grep_suggestions { for my $via_name ( $dep->via ) { if ( $via_name eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_eva } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_eva } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading
lib/Travelynx/Helper/EFA.pm +2 −2 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ sub grep_suggestions { for my $stop ( $dep->route_post ) { if ( $stop->full_name eq $dest->{name} ) { if ( not $dep->is_cancelled ) { $via_count{ $dep->stop_id_num } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->stop_id_num } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading
lib/Travelynx/Helper/IRIS.pm +2 −2 Original line number Diff line number Diff line Loading @@ -249,10 +249,10 @@ sub grep_suggestions { for my $via_name ( $dep->route_post ) { if ( $via_name eq $dest->{name} ) { if ( not $dep->departure_is_cancelled ) { $via_count{ $dep->station_uic } += 1; $via_count{ $dest->{name} } += 1; } if ( $max_per_dest and $via_count{ $dep->station_uic } > $max_per_dest ) and $via_count{ $dest->{name} } > $max_per_dest ) { next destination; } Loading