mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
configDB.pm: history updated, add log entry for search
git-svn-id: https://svn.fhem.de/fhem/trunk@11127 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4f85bed576
commit
112cbc85d9
@ -103,6 +103,10 @@
|
|||||||
#
|
#
|
||||||
# 2015-10-14 - changed search conditions use ESCAPE, forum #42190
|
# 2015-10-14 - changed search conditions use ESCAPE, forum #42190
|
||||||
#
|
#
|
||||||
|
# 2016-03-19 - changed use modpath, forum #51036
|
||||||
|
#
|
||||||
|
# 2016-03-26 - added log entry for search (verbose=5)
|
||||||
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -901,6 +905,7 @@ sub _cfgDB_Search($$;$) {
|
|||||||
}
|
}
|
||||||
$sql .= "ORDER BY lower(device),command DESC";
|
$sql .= "ORDER BY lower(device),command DESC";
|
||||||
$sth = $fhem_dbh->prepare( $sql);
|
$sth = $fhem_dbh->prepare( $sql);
|
||||||
|
Log 5,"configDB: $sql";
|
||||||
$sth->execute();
|
$sth->execute();
|
||||||
$text = " device" if($dsearch);
|
$text = " device" if($dsearch);
|
||||||
push @result, "search result for$text: $search in version: $searchversion";
|
push @result, "search result for$text: $search in version: $searchversion";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user