backend form: always show IRIS first

This commit is contained in:
Birte Kristina Friesel 2024-08-12 18:16:52 +02:00
parent 897b88691c
commit 97b0b4bd93
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1026,7 +1026,12 @@ sub backend_form {
$backend->{type} = $type; $backend->{type} = $type;
} }
@backends = grep { $_->{type} } @backends; my $iris = shift @backends;
@backends
= sort { $a->{name} cmp $b->{name} } grep { $_->{type} } @backends;
unshift( @backends, $iris );
$self->render( $self->render(
'select_backend', 'select_backend',