mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
report exclude readonly reports as default, added row preview
This commit is contained in:
parent
cd3c0f2113
commit
63dbedc1a8
@ -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,
|
||||||
|
@ -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">
|
||||||
|
6374
www/pages/report.php
6374
www/pages/report.php
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user