Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
3eec80e0
Commit
3eec80e0
authored
Apr 27, 2018
by
JanFontanet
Browse files
[#611]Sort ISOs by name
parent
82b6c778
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Front.pm
View file @
3eec80e0
...
...
@@ -380,7 +380,7 @@ Returns a reference to a list of the ISOs known by the system
sub
iso_file
{
my
$self
=
shift
;
my
$vm
=
$self
->
search_vm
('
KVM
');
my
@isos
=
$vm
->
search_volume_path_re
(
qr(.*\.iso$)
);
my
@isos
=
sort
{
"
\L
$a
"
cmp
"
\L
$b
"
}
$vm
->
search_volume_path_re
(
qr(.*\.iso$)
);
#TODO remove path from device
return
\
@isos
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment