Fix an accessor name.
This commit is contained in:
parent
56fcb761a1
commit
8a3f36a449
1 changed files with 4 additions and 4 deletions
|
|
@ -201,16 +201,16 @@ Indexing the content of attachments and user defined fields. See WebGUI::Asset::
|
|||
|
||||
=cut
|
||||
|
||||
sub indexContent {
|
||||
override indexContent => sub {
|
||||
my $self = shift;
|
||||
my $indexer = $self->SUPER::indexContent;
|
||||
my $indexer = super();
|
||||
$indexer->addKeywords($self->linkTitle);
|
||||
$indexer->addKeywords($self->linkUrl);
|
||||
$indexer->addKeywords($self->linkURL);
|
||||
my $storage = $self->getStorageLocation;
|
||||
foreach my $file (@{$storage->getFiles}) {
|
||||
$indexer->addFile($storage->getPath($file));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue