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

search suggestion showing results and ignore filters #44639

Open
webgras opened this issue Dec 19, 2024 · 0 comments
Open

search suggestion showing results and ignore filters #44639

webgras opened this issue Dec 19, 2024 · 0 comments

Comments

@webgras
Copy link
Contributor

webgras commented Dec 19, 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.

@webgras webgras changed the title search suggestion showing results from other filters search suggestion showing results and ignore filters Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants