73_km200.pm: bugfix: Errorlist unsorted timestamp
git-svn-id: https://svn.fhem.de/fhem/trunk@14144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2829,7 +2829,7 @@ sub km200_ParseHttpResponseDyn($)
|
|||||||
my $TempServiceIndex = 0;
|
my $TempServiceIndex = 0;
|
||||||
|
|
||||||
### Sort list by timestamps descending
|
### Sort list by timestamps descending
|
||||||
# my @TempSortedErrorList = sort { $b->{t} <=> $a->{t} } @{ $json->{values} };
|
my @TempSortedErrorList = sort { $b->{t} cmp $a->{t} } @{ $json->{values} };
|
||||||
my @TempSortedErrorList = sort ( @{ $json->{values} } );
|
my @TempSortedErrorList = sort ( @{ $json->{values} } );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user