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

🐛 Bug Report: Search filters aren't cleared on selecting result type #27959

Open
2 tasks done
daksh0702 opened this issue Dec 2, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
area:search bug Something isn't working

Comments

@daksh0702
Copy link

📜 Description

Ideally when we switch result type previous selected filters should get cleared but that is not happening because of which search api is breaking

👍 Expected behavior

On switching result type previous filters should be cleared

👎 Actual Behavior with Screenshots

S1 S2

👟 Reproduction steps

Go to https://demo.backstage.io/search?query=&types%5B%5D=techdocs&filters%5Bname%5D=backstage
In filters select entity as backstage. Switch result type to software catalog in filters.
In the search api we're still sending entity as backstage

📃 Provide the context for the Bug.

Search api is breaking because of this

🖥️ Your Environment

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

@daksh0702 daksh0702 added the bug Something isn't working label Dec 2, 2024
@camilaibs
Copy link
Contributor

Hi @daksh0702, thanks for opening and taking on the issue 🙌🏻, I have assigned it to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:search bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants