backend form: always show IRIS first
This commit is contained in:
parent
897b88691c
commit
97b0b4bd93
1 changed files with 6 additions and 1 deletions
|
@ -1026,7 +1026,12 @@ sub backend_form {
|
|||
$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(
|
||||
'select_backend',
|
||||
|
|
Loading…
Reference in a new issue