mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
Wrong sorting
git-svn-id: https://svn.fhem.de/fhem/trunk@556 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f3f7ef189e
commit
bd2a344fdc
@ -41,8 +41,8 @@ CommandXmlList($$)
|
||||
my $lt = "";
|
||||
|
||||
delete($modules{""}) if(defined($modules{""}));
|
||||
for my $d (sort { my $x = $defs{$a}{TYPE}.$modules{$defs{$a}{TYPE}}{ORDER} cmp
|
||||
$defs{$b}{TYPE}.$modules{$defs{$b}{TYPE}}{ORDER};
|
||||
for my $d (sort { my $x = $modules{$defs{$a}{TYPE}}{ORDER}.$defs{$a}{TYPE} cmp
|
||||
$modules{$defs{$b}{TYPE}}{ORDER}.$defs{$b}{TYPE};
|
||||
$x = ($a cmp $b) if($x == 0); $x; } keys %defs) {
|
||||
|
||||
next if(IsIgnored($d));
|
||||
|
Loading…
x
Reference in New Issue
Block a user