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.
$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.
That's true. Thanks for pointing that out.
Fixed in version 1.2.18.
1-2 of 2