report exclude readonly reports as default, added row preview

This commit is contained in:
OpenXE 2023-05-02 13:16:31 +02:00
parent cd3c0f2113
commit 63dbedc1a8
3 changed files with 3193 additions and 3188 deletions

View File

@ -492,6 +492,8 @@ final class ReportService
$testResult['messagetype'] = 'error'; $testResult['messagetype'] = 'error';
$testResult['message'] = sprintf("QUERY FAILED:\n%s", $e->getMessage()); $testResult['message'] = sprintf("QUERY FAILED:\n%s", $e->getMessage());
$testResult['message'] .= "\n\r".$compiled;
return $testResult; return $testResult;
} }
@ -500,6 +502,9 @@ final class ReportService
if(count($rows) < 101){ if(count($rows) < 101){
$message = sprintf('Query successful: %s datasets found', count($rows)); $message = sprintf('Query successful: %s datasets found', count($rows));
} }
$message .= "\n\r".print_r($rows[0],true);
$testResult = [ $testResult = [
'messagetype' => 'success', 'messagetype' => 'success',
'message' => $message, 'message' => $message,

View File

@ -26,7 +26,7 @@
<input type="checkbox" id="report-list-filter-own"> <input type="checkbox" id="report-list-filter-own">
<span class="slider round"></span> <span class="slider round"></span>
</label> </label>
<label for="report-list-filter-own">{|Nur eigene|}</label> <label for="report-list-filter-own">{|Inkl. Vorlagen|}</label>
</li> </li>
<li class="filter-item"> <li class="filter-item">
<label for="report-list-filter-favorites" class="switch"> <label for="report-list-filter-favorites" class="switch">

File diff suppressed because it is too large Load Diff