SiteSearch

Adds global search capabilities to October CMS

Back to SiteSearch Support

beenen445
beenen445

Hello,

I was wondering why searching through the title of RainLab.Pages plugin isn't enabled? The 'title' attribute seems to be ignored in the code, even though there is code written that makes the relevancy of a result go up when it found the query in the title.

The following: $ignoreViewBagKeys = [ 'title', 'url', 'layout', 'is_hidden', 'navigation_hidden', ];

Should be changed into:

$ignoreViewBagKeys = [ 'url', 'layout', 'is_hidden', 'navigation_hidden', ];

The following code exists at Classes\Providers\RainlabPagesResultsProvider.php line 94.

Thanks in advance.

Last updated

OFFLINE
OFFLINE

That's true. Thanks for pointing that out.

Fixed in version 1.2.18.

1-2 of 2