Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix log grouping
Browse files Browse the repository at this point in the history
Fix Copy Selection action
  • Loading branch information
cdujeu committed Jan 12, 2016
1 parent 7c7036b commit 442b484
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -93,17 +93,17 @@ Class.create("AjxpDataGridEditor", AbstractEditor, {
var message = '';
var first = nodes.first();
var meta = first.getMetadata();
meta.each(function(pair){
if(exclude.indexOf(pair.key) == -1) {
message += pair.key + '\t';
meta.forEach(function(value, key){
if(exclude.indexOf(key) == -1) {
message += key + '\t';
}
});
message += '\n\n';
nodes.each(function(node){
var meta = node.getMetadata();
meta.each(function(pair){
if(exclude.indexOf(pair.key) == -1) {
message += pair.value + '\t';
meta.forEach(function(value, key){
if(exclude.indexOf(key) == -1) {
message += value + '\t';
}
});
message += '\n';
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/log.sql/class.sqlLogDriver.php
Expand Up @@ -548,7 +548,7 @@ public function xmlLogs($parentDir, $date, $nodeName = "log", $rootPath = "/logs
$currentCount = 1;
foreach ($result as $r) {

if(isSet($buffer) && $buffer["user"] == $r["user"] && $buffer["message"] == $r["message"]){
if(isSet($buffer) && $buffer["user"] == $r["user"] && $buffer["message"] == $r["message"] && $buffer["params"] == $r["params"]){
$currentCount ++;
continue;
}
Expand Down

0 comments on commit 442b484

Please sign in to comment.