Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude search results 'created_by' #44554

Open
wants to merge 1 commit into
base: 5.2-dev
Choose a base branch
from

Conversation

pixelhexe
Copy link

Pull Request for Issue #44549 .

Summary of Changes

Add option to finder plugin "Smart Search - Content" for excluding search for author's name in article field "created by".

finder-new-option

Testing Instructions

You'll need some articles written by an author and in one or several articles insert the author's name as normal content (article text). Add a finder / smart search into your site as you would generally do. For example add a menu item with menu item type "Search" without special filters or advanced features. Don't forget to index your content in backend in the search component.

After the changes of this pull request you'll have an additional option in the finder plugin content "Include articles 'created by' (author's name)?" with default value "yes". Everything remains as it is if this option is not changed.

For testing purposes switch the new option to "no" and save it. Then you'll need to clear your search index and reindex content.

In frontend, search for the author's name which you included in the article text of one or more articles.

Actual result BEFORE applying this Pull Request

The search results will show all articles created by this author.

Users are confused because they don't know how these search results come about - unless the site is configured so that the authors are always visible in the articles, which is often not the case.
They would expect only those articles to be listed where the author's name appears in the normal article text.

Expected result AFTER applying this Pull Request

The search results will only show those articles in which the author's name is included in the article content text.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants