SQLReport now replaces field name spaces with hyphens for the direct access template params.

This commit is contained in:
Kaleb Murphy 2008-11-11 17:53:54 +00:00
parent 43c5e5e63d
commit b65c907040
2 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,7 @@
- fixed #9002: add a variant in admin product view misses i18n link
- fixed #9034: Removed all instances of srand. This is called implicitily by rand and be dangerous if called mulitple times by the same process.
- fixed: DataForm now allows you to edit existing tabs
- fixed #9064: SQLReport now replaces field name spaces with hyphens for the direct access template params.
7.6.2
- fixed: not allowed to add calendar events if in can edit group but not can add event group

View file

@ -680,7 +680,9 @@ sub _processQuery {
'field.value'=>$data->{$name}
});
$colnum++;
$row{$prefix.'row.field.'.$name.'.value'} = $data->{$name};
my $tmpl_name = $name;
$tmpl_name =~ s/\ /-/g;
$row{$prefix.'row.field.'.$tmpl_name.'.value'} = $data->{$name};
}
# Process nested query
if($nest && $self->{_query}{$nr + 1}{dbQuery}) {