the wiki pretty much works. now it's just about the cleanup work.
This commit is contained in:
parent
becec72418
commit
737cbf0fef
4 changed files with 68 additions and 20 deletions
|
|
@ -521,10 +521,12 @@ sub www_search {
|
|||
$search->search({ keywords => $queryString,
|
||||
lineage => [$self->get('lineage')],
|
||||
classes => ['WebGUI::Asset::WikiPage'] });
|
||||
my $rs = $search->getResultSet;
|
||||
my $rs = $search->getPaginatorResultSet;
|
||||
$rs->appendTemplateVars($var);
|
||||
my @results = ();
|
||||
while (defined(my $row = $rs->hashRef)) {
|
||||
push @results, $self->_templateSubvarOfPage($row->{assetId});
|
||||
foreach my $row (@{$rs->getPageData}) {
|
||||
$row->{url} = $self->session->url->gateway($row->{url});
|
||||
push @results, $row;
|
||||
}
|
||||
$var->{'searchResults'} = \@results;
|
||||
$var->{'performSearch'} = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue