Skip to content
Snippets Groups Projects
Unverified Commit 4fb45104 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Account: IRIS is no longer preferred; do not place it first

parent 2346f681
No related branches found
No related tags found
No related merge requests found
......@@ -1070,9 +1070,8 @@ sub backend_form {
$backend->{homepage} = 'https://www.bahn.de';
}
elsif ( $backend->{dbris} ) {
$type = 'DBRIS';
$backend->{longname}
= 'Deutsche Bahn: bahn.de';
$type = 'DBRIS';
$backend->{longname} = 'Deutsche Bahn: bahn.de';
$backend->{homepage} = 'https://www.bahn.de';
}
elsif ( $backend->{hafas} ) {
......@@ -1141,14 +1140,10 @@ sub backend_form {
$backend->{type} = $type;
}
my $iris = shift @backends;
@backends = map { $_->[1] }
sort { $a->[0] cmp $b->[0] }
map { [ lc( $_->{name} ), $_ ] } grep { $_->{type} } @backends;
unshift( @backends, $iris );
$self->render(
'select_backend',
suggestions => \@suggested_backends,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment