Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@flacoman91
Copy link
Contributor

@flacoman91 flacoman91 commented Jun 6, 2025

Addresses: DATAP-25
Addresses: DATAP-1750

This fixes an issue causing some ES queries to fail.

To test search for savings / loan in the search bar

It should work properly.

I also removed the early exit in the search panel when the search isLoading or isFetching. This was causing the query to run repeatedly, and also hid the search bar when things failed. As a result of this, users were not able to change their query to exit the failed condition.

This is on dev5 for testing

To test:

try to search any of the following strings: 3/4 1/24 XX/XX

This would fail on the current prod.

fixing ES sanitization

remove isloading isfetching to cause unnecessary unmount

sanitize input
@flacoman91 flacoman91 enabled auto-merge June 6, 2025 17:59
Copy link
Member

@higs4281 higs4281 left a comment

Choose a reason for hiding this comment

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

Fixes confirmed.

@flacoman91 flacoman91 added this pull request to the merge queue Jun 6, 2025
Merged via the queue into main with commit 6a6db40 Jun 6, 2025
2 checks passed
@flacoman91 flacoman91 deleted the DATAP-25-sanitize-elasticsearch branch June 6, 2025 19:30
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