Do not show cancelled journeys without substitute in passengerrights list
This commit is contained in:
parent
424897fcc3
commit
119f0a6b7d
1 changed files with 3 additions and 3 deletions
|
@ -127,9 +127,9 @@ sub list_candidates {
|
|||
$journey->{cancelled} = 1;
|
||||
$self->mark_substitute_connection($journey);
|
||||
|
||||
if ( not $journey->{has_substitute}
|
||||
or $journey->{to_substitute}->{rt_arr_ts} - $journey->{sched_arr_ts}
|
||||
>= 3600 )
|
||||
if ( $journey->{has_substitute}
|
||||
and $journey->{to_substitute}->{rt_arr_ts}
|
||||
- $journey->{sched_arr_ts} >= 3600 )
|
||||
{
|
||||
push( @journeys, $journey );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue