fix - SQL Report w/ pagination and nested queries (pagination is now over-ridden as intended when nested queries are defined)
This commit is contained in:
parent
8c2434cc4d
commit
3fd656a651
2 changed files with 3 additions and 1 deletions
|
|
@ -17,3 +17,5 @@
|
||||||
- fix: Adding Survey Choices
|
- fix: Adding Survey Choices
|
||||||
- fix: User/Group problem
|
- fix: User/Group problem
|
||||||
- fix: Edit LDAP Connection
|
- fix: Edit LDAP Connection
|
||||||
|
- fix: SQL Report w/ pagination and nested queries
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -428,7 +428,7 @@ sub _processQuery {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
my $paginateAfter = $self->get("paginateAfter");
|
my $paginateAfter = $self->get("paginateAfter");
|
||||||
$paginateAfter = 1000 if($nr > 1);
|
$paginateAfter = 1000 if($self->{_query}{$nr + 1}{dbQuery});
|
||||||
my $p = WebGUI::Paginator->new($self->session,$url,$paginateAfter);
|
my $p = WebGUI::Paginator->new($self->session,$url,$paginateAfter);
|
||||||
my $error = $p->setDataByQuery($query,$dbh,1,$placeholderParams);
|
my $error = $p->setDataByQuery($query,$dbh,1,$placeholderParams);
|
||||||
if ($error ne "") {
|
if ($error ne "") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue