mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
93_DbRep: sort problem in diffValue Forum:#msg882082
git-svn-id: https://svn.fhem.de/fhem/trunk@18163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6fcf602c1b
commit
cc75e524e1
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 93_DbRep: sort problem in diffValue Forum:#msg882082
|
||||||
- bugfix: 98_weekprofile: fix f18 style
|
- bugfix: 98_weekprofile: fix f18 style
|
||||||
- feature: 98_weekprofile: Force to send complete week profile
|
- feature: 98_weekprofile: Force to send complete week profile
|
||||||
Attr forceCompleteProfile
|
Attr forceCompleteProfile
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
##########################################################################################################
|
##########################################################################################################
|
||||||
# 93_DbRep.pm
|
# 93_DbRep.pm
|
||||||
#
|
#
|
||||||
# (c) 2016-2018 by Heiko Maaz
|
# (c) 2016-2019 by Heiko Maaz
|
||||||
# e-mail: Heiko dot Maaz at t-online dot de
|
# e-mail: Heiko dot Maaz at t-online dot de
|
||||||
#
|
#
|
||||||
# This Module can be used to select and report content of databases written by 93_DbLog module
|
# This Module can be used to select and report content of databases written by 93_DbLog module
|
||||||
@ -57,6 +57,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
|||||||
|
|
||||||
# Versions History intern
|
# Versions History intern
|
||||||
our %DbRep_vNotesIntern = (
|
our %DbRep_vNotesIntern = (
|
||||||
|
"8.9.9" => "06.01.2019 diffval_DoParse: 'ORDER BY TIMESTAMP' added to statements Forum:https://forum.fhem.de/index.php/topic,53584.msg882082.html#msg882082",
|
||||||
"8.9.8" => "27.11.2018 minor fix in deviceRename, commandref revised ",
|
"8.9.8" => "27.11.2018 minor fix in deviceRename, commandref revised ",
|
||||||
"8.9.7" => "21.11.2018 DbRep_firstconnect now uses attribute \"timeout\" ",
|
"8.9.7" => "21.11.2018 DbRep_firstconnect now uses attribute \"timeout\" ",
|
||||||
"8.9.6" => "15.11.2018 fix PERL WARNING: Use of uninitialized value \$fref in pattern match (m//), sub DbRep_sec2hms for hms transforming",
|
"8.9.6" => "15.11.2018 fix PERL WARNING: Use of uninitialized value \$fref in pattern match (m//), sub DbRep_sec2hms for hms transforming",
|
||||||
@ -3318,9 +3319,9 @@ sub diffval_DoParse($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($IsTimeSet || $IsAggrSet) {
|
if ($IsTimeSet || $IsAggrSet) {
|
||||||
$sql = DbRep_createSelectSql($hash,"history",$selspec,$device,$reading,"'$runtime_string_first'","'$runtime_string_next'",'');
|
$sql = DbRep_createSelectSql($hash,"history",$selspec,$device,$reading,"'$runtime_string_first'","'$runtime_string_next'",'ORDER BY TIMESTAMP');
|
||||||
} else {
|
} else {
|
||||||
$sql = DbRep_createSelectSql($hash,"history",$selspec,$device,$reading,undef,undef,'');
|
$sql = DbRep_createSelectSql($hash,"history",$selspec,$device,$reading,undef,undef,'ORDER BY TIMESTAMP');
|
||||||
}
|
}
|
||||||
Log3 ($name, 4, "DbRep $name - SQL execute: $sql");
|
Log3 ($name, 4, "DbRep $name - SQL execute: $sql");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user