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

fix: set query in facets module from selecting a query preview #1318

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

CachedaCodes
Copy link
Contributor

EMP-2407

Motivation and context

The query of the facets module wasn't being updated when a query preview was selected and that caused probles with the events from the emitters not having the correct oldValue.

  • Dependencies. If any, specify:
  • Open issue. If applicable, link:

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to not work as expected)
  • Change requires a documentation update

What is the destination branch of this PR?

  • Main
  • Other. Specify:

How has this been tested?

Click a query preview with filters (cortina for example) and search for something that doesn't have results (a spellchecked query, pantlon for example). Only the spellcheck message should appear. Check removing the new wire and two messages appear doing the same.

@CachedaCodes CachedaCodes requested a review from a team as a code owner October 9, 2023 10:48
Copy link
Contributor

@annacv annacv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@annacv annacv merged commit 5868a24 into main Oct 10, 2023
4 checks passed
@annacv annacv deleted the bugfix/EMP-2407-change-facets-query-on-query-preview branch October 10, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants