diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-11-08 07:38:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-11-08 07:38:37 +0100 |
commit | 5565e81fb23cea7d660f404fdbfc7bc90b8b9b4f (patch) | |
tree | a250239f1063a124e29a456f5091798077db292d /index.pl | |
parent | b41a64bd7f246bdf3651111d167167e61af4d0c9 (diff) |
sort by real-time departure
Diffstat (limited to 'index.pl')
-rwxr-xr-x | index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -771,7 +771,7 @@ get '/*station' => sub { @results = map { $_->[0] } sort { $b->[1] <=> $a->[1] } - map { [ $_, $_->sched_departure->epoch // $_->departure->epoch ] } + map { [ $_, $_->departure->epoch // $_->sched_departure->epoch ] } @results; $self->render( |