diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-11 12:17:42 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-11 12:17:42 +0200 | 
| commit | 983f0ceeb86fe9173ecd402c14b8be7341c3dced (patch) | |
| tree | ccbdf2328d17fd1119ee70c6d96bacff12538df5 /lib/DBInfoscreen | |
| parent | a259e0e8c581875f33f9e672fd56b2dd52013434 (diff) | |
Adjust handle_no_results for EFA 3.10
Diffstat (limited to 'lib/DBInfoscreen')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 3e07f90..bfb9289 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -54,9 +54,11 @@ sub handle_no_results {  		if ( $errstr =~ m{ambiguous} and $efa->name_candidates ) {  			$self->render(  				'landingpage', -				stationlist => [ $efa->name_candidates ], -				hide_opts   => 0, -				status      => $data->{status} // 300, +				stationlist => [ +					map { [ $_->full_name, $_->id_num ] } $efa->name_candidates +				], +				hide_opts => 0, +				status    => $data->{status} // 300,  			);  		}  		else { | 
