fixed #11745: Pagination doesn't work in DataForm list mode
This commit is contained in:
parent
5bc83c4b17
commit
078bc0e162
2 changed files with 2 additions and 1 deletions
|
|
@ -727,7 +727,7 @@ sub getListTemplateVars {
|
|||
} @{ $self->getFieldOrder };
|
||||
$var->{field_loop} = \@fieldLoop;
|
||||
my @recordLoop;
|
||||
my $p = WebGUI::Paginator->new($session);
|
||||
my $p = WebGUI::Paginator->new($session,$self->getUrl("mode=list"));
|
||||
$p->setDataByCallback(sub { return $self->entryClass->iterateAll($self, { offset => $_[0], limit => $_[1], }); });
|
||||
my $entryIter = $p->getPageIterator();
|
||||
while ( my $entry = $entryIter->() ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue