No Code Attached Yet
avatar webgras
webgras
19 Dec 2024

Steps to reproduce the issue

  1. Create an article with the title "loremarticle"

  2. Create a contact with the title "loremcontent"

  3. in the Smart Search create two filters: one for articles, one for contacts
    Image
    Image

  4. index smart search for the website
    and check your smart search content map for contacts and articles

  5. Create one smart search modules with the filter search for contacts, with "Suggestions yes" (should be default)
    Image

  6. Create one smart search modules with the filter search for articles
    Image

  7. Go to the website and search in the "contact" search module type "lorem".
    Image

Expected result

The suggestions (awesomplete) in the contact search field will only show contacts.
The search results are correct.

Actual result

The suggestions (awesomplete) are not filtered at all, they show all results from the whole websites. Search filters are ignored.
The search results are correct.

System information (as much as possible)

Joomla 5.2.2

Additional comments

On smaller websites this does not matter probably. I have website that has 400 contacts, 200 articles and 500 documents (in an extension). We have different search modules on different menu items. The search results are correct, but the suggestions are misleading.

EDIT: I added that I meant the awesomplete suggestions in the dropdown.

avatar webgras webgras - open - 19 Dec 2024
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Dec 2024
avatar webgras webgras - change - 19 Dec 2024
Title
search suggestion showing results from other filters
search suggestion showing results and ignore filters
avatar webgras webgras - edited - 19 Dec 2024
avatar webgras webgras - change - 19 Dec 2024
The description was changed
avatar webgras webgras - edited - 19 Dec 2024
avatar yr1404
yr1404 - comment - 8 Jan 2025

I would like to work on this issue. Can you assign it to me?

avatar fgsw
fgsw - comment - 8 Jan 2025

@yr1404 No need to assign an Issue, just do a Pull Request.

Add a Comment

Login with GitHub to post a comment