diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-19 12:11:11 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-04-21 13:01:06 +0200 |
commit | e2e85c0d10a115cbf68e4fe3f75df9f68b1857e6 (patch) | |
tree | 2b97b14edd5275a3df7b0744eb4d8372fa159faa | |
parent | 6dab985966f2a67a9acfdc5b442b16d5e65b7079 (diff) |
dbris stationboard: sort by realtime data
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 662ef67..94a5cfb 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1994,6 +1994,9 @@ sub render_board_dbris { my @results = $self->filter_results( $dbris->results ); + @results = map { $_->[1] } sort { $a->[0] <=> $b->[0] } + map { [ $_->dep, $_ ] } @results; + for my $result (@results) { my $time; |