Skip to content

Smart Search to use the menu item's title over article/item title, in the results #45811

@sakiss

Description

@sakiss

Steps to reproduce the issue

Given that Smart Search is enabled.

  1. Create an article
  2. Create a menu item for that article (type: Articles > Single Article), set a "Browse Page Title" for that menu item.
  3. Go back to edit the article and save it again.
  4. Perform a search with the Smart Search in the FE that returns that article.

Expected result

The result item to have the same title as the article title.

Actual result

It shows the single article menu item's "Browse Page Title" as the result item title.

System information (as much as possible)

Joomla 5.x

Additional comments

There supposed to be a setting in the "Smart Search - Content" plugin for using or not the article's menu title.
See: plugins/finder/content/src/Extension/Content.php line 306 - 308
Unfortunately, Joomla never added that setting to the plugin's UI and always defaults to true.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions