diff --git a/classes/Modules/Report/ReportService.php b/classes/Modules/Report/ReportService.php index 713eece8..4bf9bdde 100644 --- a/classes/Modules/Report/ReportService.php +++ b/classes/Modules/Report/ReportService.php @@ -492,6 +492,8 @@ final class ReportService $testResult['messagetype'] = 'error'; $testResult['message'] = sprintf("QUERY FAILED:\n%s", $e->getMessage()); + $testResult['message'] .= "\n\r".$compiled; + return $testResult; } @@ -500,6 +502,9 @@ final class ReportService if(count($rows) < 101){ $message = sprintf('Query successful: %s datasets found', count($rows)); } + + $message .= "\n\r".print_r($rows[0],true); + $testResult = [ 'messagetype' => 'success', 'message' => $message, diff --git a/www/pages/content/report_list.tpl b/www/pages/content/report_list.tpl index ab15059c..774d4531 100644 --- a/www/pages/content/report_list.tpl +++ b/www/pages/content/report_list.tpl @@ -26,7 +26,7 @@ - {|Nur eigene|} + {|Inkl. Vorlagen|}