View | Details | Raw Unified | Return to bug 24305
Collapse All | Expand All

(-)a/reports/guided_reports.pl (-1 / +3 lines)
Lines 1083-1088 sub get_prepped_report { Link Here
1083
    my ($sql, $param_names, $sql_params ) = @_;
1083
    my ($sql, $param_names, $sql_params ) = @_;
1084
1084
1085
    # First we split out the placeholders
1085
    # First we split out the placeholders
1086
    # This part of the code supports using [[ table.field | alias ]] in the
1087
    # query and replaces it by table.field AS alias. Not sure why we would
1088
    # need it if we can type the latter (which is simpler)?
1086
    my @split = split /\[\[|\]\]/,$sql;
1089
    my @split = split /\[\[|\]\]/,$sql;
1087
    my $headers;
1090
    my $headers;
1088
    for(my $i=0;$i<$#split/2;$i++){ #The placeholders are always the odd elements of the array
1091
    for(my $i=0;$i<$#split/2;$i++){ #The placeholders are always the odd elements of the array
1089
- 

Return to bug 24305