Show
Ignore:
Timestamp:
04/22/08 22:06:38 (2 months ago)
Author:
erickson
Message:

Merged revisions 9425,9428,9430-9435 via svnmerge from
svn://svn.open-ils.org/ILS/trunk

........

r9425 | erickson | 2008-04-22 10:36:27 -0400 (Tue, 22 Apr 2008) | 1 line


default estimated hit count to 0 to protect against null counts in the case of a search timeout/failure

........

r9428 | erickson | 2008-04-22 14:01:05 -0400 (Tue, 22 Apr 2008) | 1 line


added support for defining pivot data and label columns

........

r9430 | erickson | 2008-04-22 14:32:12 -0400 (Tue, 22 Apr 2008) | 1 line


added support for taking pivot info from the report def

........

r9431 | miker | 2008-04-22 21:41:36 -0400 (Tue, 22 Apr 2008) | 1 line


move the translation widget out to openils.widget

........

r9432 | miker | 2008-04-22 21:42:25 -0400 (Tue, 22 Apr 2008) | 1 line


move the translation widget out to openils.widget

........

r9433 | miker | 2008-04-22 21:42:49 -0400 (Tue, 22 Apr 2008) | 1 line


OO-ify openils.User

........

r9434 | miker | 2008-04-22 21:45:21 -0400 (Tue, 22 Apr 2008) | 1 line


typo in name

........

r9435 | miker | 2008-04-22 22:03:48 -0400 (Tue, 22 Apr 2008) | 1 line


back-compat global population

........

Location:
branches/acq-experiment
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/acq-experiment

    • Property svnmerge-integrated changed from /trunk:1-9414 to /trunk:1-9435
  • branches/acq-experiment/Open-ILS/src/reporter/clark-kent.pl

    r9385 r9436  
    1515use OpenSRF::Utils qw/:daemon/; 
    1616use OpenSRF::Utils::JSON; 
    17 #use OpenSRF::Utils::Logger qw/:level/; 
     17use OpenSRF::Utils::Logger qw/$logger/; 
    1818use OpenSRF::System; 
    1919use OpenSRF::AppSession; 
     
    134134 
    135135        my $b = OpenILS::Reporter::SQLBuilder->new; 
    136         $b->register_params( OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{data} ) ); 
     136        my $report_data = OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{data} ); 
     137        $b->register_params( $report_data ); 
    137138 
    138139        $r->{resultset} = $b->parse_report( OpenSRF::Utils::JSON->JSON2perl( $r->{report}->{template}->{data} ) ); 
     140        $r->{resultset}->set_pivot_data($report_data->{__pivot_data}) if $report_data->{__pivot_data}; 
     141        $r->{resultset}->set_pivot_label($report_data->{__pivot_label}) if $report_data->{__pivot_label}; 
     142        $r->{resultset}->set_pivot_default($report_data->{__pivot_default}) if $report_data->{__pivot_default}; 
    139143        $r->{resultset}->relative_time($r->{run_time}); 
    140144        push @reports, $r; 
     
    162166                SQL 
    163167 
     168            $logger->debug('Report SQL: ' . $r->{resultset}->toSQL); 
    164169                $sth = $dbh->prepare($r->{resultset}->toSQL); 
    165170