[open-ils-commits] r18470 - branches/rel_2_0/Open-ILS/src/reporter (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 26 10:00:11 EDT 2010
Author: miker
Date: 2010-10-26 10:00:09 -0400 (Tue, 26 Oct 2010)
New Revision: 18470
Modified:
branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl
Log:
include more information in the debugging dump; correct the "back to index" link
Modified: branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl
===================================================================
--- branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl 2010-10-26 13:59:30 UTC (rev 18469)
+++ branches/rel_2_0/Open-ILS/src/reporter/clark-kent.pl 2010-10-26 14:00:09 UTC (rev 18470)
@@ -478,10 +478,10 @@
{ no warnings;
print $debug '<h1>Generated SQL</h1><pre>' . $r->{resultset}->toSQL() . "</pre><a href='$file'>Back to output index</a><hr/>";
- print $debug '<h1>Template</h1><pre>' . Dumper( OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{template}->{data} ) ) . "</pre><a href='$file'>Back to output index</a><hr/>";
- print $debug '<h1>Report Parameter</h1><pre>' . Dumper( OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{data} ) ) . "</pre><a href='$file'>Back to output index</a><hr/>";
+ print $debug '<h1>Template</h1><pre>' . Dumper( OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{template} ) ) . "</pre><a href='$file'>Back to output index</a><hr/>";
+ print $debug '<h1>Report Parameter</h1><pre>' . Dumper( OpenSRF::Utils::JSON->JSON2perl( $r->{report} ) ) . "</pre><a href='$file'>Back to output index</a><hr/>";
print $debug '<h1>Report Run Time</h1><pre>' . $r->{resultset}->relative_time . "</pre><a href='$file'>Back to output index</a><hr/>";
- print $debug '<h1>OpenILS::Reporter::SQLBuilder::ResultSet Object</h1><pre>' . Dumper( $r->{resultset} ) . "</pre><a href='$file'>Back to output index</a>";
+ print $debug '<h1>OpenILS::Reporter::SQLBuilder::ResultSet Object</h1><pre>' . Dumper( $r->{resultset} ) . "</pre><a href='report-data.html'>Back to output index</a>";
}
print $debug '</body></html>';
More information about the open-ils-commits
mailing list