report exclude readonly reports as default, added row preview

This commit is contained in:
OpenXE
2023-05-02 18:57:13 +02:00
parent cd3c0f2113
commit 63dbedc1a8
3 changed files with 3193 additions and 3188 deletions
+5
View File
@@ -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,