WikiMaster keyword pagination fixes, re # 10856.
Add pagination template variables to the default byKeyword template. Fix pagination URL for keywords. Conflicts: docs/changelog/7.x.x.txt
This commit is contained in:
parent
fea30d0db0
commit
4ea146fc07
3 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
7.8.0
|
7.8.0
|
||||||
|
- fixed #10856: no paginate in wiki keyword search
|
||||||
- fixed #10877: getProfileUrl() broken
|
- fixed #10877: getProfileUrl() broken
|
||||||
- fixed #10844: Ad Sales: No template variable Help
|
- fixed #10844: Ad Sales: No template variable Help
|
||||||
- fixed #10873: Code editor breaks CSS comments
|
- fixed #10873: Code editor breaks CSS comments
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -542,7 +542,7 @@ sub www_byKeyword {
|
||||||
keyword => $keyword,
|
keyword => $keyword,
|
||||||
usePaginator => 1,
|
usePaginator => 1,
|
||||||
});
|
});
|
||||||
$p->setBaseUrl($self->getUrl("func=byKeyword"));
|
$p->setBaseUrl($self->getUrl("func=byKeyword;keyword=".$keyword));
|
||||||
foreach my $assetData (@{$p->getPageData}) {
|
foreach my $assetData (@{$p->getPageData}) {
|
||||||
my $asset = WebGUI::Asset->newByDynamicClass($self->session, $assetData->{assetId});
|
my $asset = WebGUI::Asset->newByDynamicClass($self->session, $assetData->{assetId});
|
||||||
next unless defined $asset;
|
next unless defined $asset;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue