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: bug with overriding patterns #1298

Merged
merged 1 commit into from
Nov 28, 2022
Merged

fix: bug with overriding patterns #1298

merged 1 commit into from
Nov 28, 2022

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Nov 28, 2022

Signed-off-by: Derek Ho [email protected]

Description

fixes #1296

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@derek-ho derek-ho requested a review from a team as a code owner November 28, 2022 15:51
Copy link
Member

@joshuali925 joshuali925 left a comment

Choose a reason for hiding this comment

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

weird this didn't throw error before? todo item the patterns feature needs tests..

should the expected behavior here be to update the pattern table with the selected pattern and update the query in the search bar to add | ${selectedPattern}? Or just update the pattern table and don't touch the query in the search bar?

we decided to not change user query explicitly when using patterns UI

@derek-ho derek-ho merged commit 0fe1253 into opensearch-project:2.x Nov 28, 2022
@derek-ho derek-ho deleted the fix-override-pattern branch November 28, 2022 19:50
@derek-ho derek-ho mentioned this pull request Dec 6, 2022
6 tasks
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.

3 participants