ordered resolutions numerically instead of ascibetically
This commit is contained in:
parent
73050858af
commit
63e93221bd
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ sub getResolutions {
|
|||
my $storage = $self->getStorageLocation;
|
||||
|
||||
# Return a list not including the web view image.
|
||||
return [ grep { $_ ne $self->get("filename") } @{ $storage->getFiles } ];
|
||||
return [ sort { $a <=> $b } grep { $_ ne $self->get("filename") } @{ $storage->getFiles } ];
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue