fix: Pagination of search results does not work
This commit is contained in:
parent
dd71810554
commit
a2b2bb662f
2 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
- fix: i18n reserved section name in Surveys
|
- fix: i18n reserved section name in Surveys
|
||||||
- fix: typo in Asset_ProjectManager i18n
|
- fix: typo in Asset_ProjectManager i18n
|
||||||
- fix: captcha image is blank (Martink Kamerbeek / Procolix)
|
- fix: captcha image is blank (Martink Kamerbeek / Procolix)
|
||||||
|
- fix: Pagination of search results does not work (Martin Kamerbeek / Procolix)
|
||||||
|
|
||||||
6.99.3
|
6.99.3
|
||||||
- Someone removed the status from the submission templates. That has been
|
- Someone removed the status from the submission templates. That has been
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ use base "WebGUI::Asset::Wobject";
|
||||||
use Tie::IxHash;
|
use Tie::IxHash;
|
||||||
use WebGUI::International;
|
use WebGUI::International;
|
||||||
use WebGUI::Paginator;
|
use WebGUI::Paginator;
|
||||||
|
use WebGUI::Search;
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
|
@ -147,7 +148,7 @@ sub view {
|
||||||
synposis=>$data->{synopsis},
|
synposis=>$data->{synopsis},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
my $p = WebGUI::Paginator->new($self->session,$self->getUrl);
|
my $p = WebGUI::Paginator->new($self->session,$self->getUrl('doit=1;keywords='.$self->session->url->escape($self->session->form->get('keywords'))));
|
||||||
$p->setDataByArrayRef(\@results);
|
$p->setDataByArrayRef(\@results);
|
||||||
$p->appendTemplateVars(\%var);
|
$p->appendTemplateVars(\%var);
|
||||||
$var{result_set} = $p->getPageData;
|
$var{result_set} = $p->getPageData;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue