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 search to remove 'No result' on change and empty query #4714

Merged
merged 1 commit into from Mar 6, 2019

Conversation

adube
Copy link
Contributor

@adube adube commented Mar 5, 2019

In the GMF search component, when there are no results found after a query, an item "No result found" is added. When clearing the query to an empty text, then clickout the search tool and then go back in, the message is still there.

This patch fixes this issue by listening the the typeahead change event and do an extra check there in case the query string is empty.

@adube adube requested a review from sbrunner March 5, 2019 16:45
@sbrunner sbrunner requested a review from fredj March 5, 2019 16:50
@adube adube merged commit 03e3d2f into camptocamp:master Mar 6, 2019
@adube adube deleted the 809-search-empty-msg branch March 6, 2019 13:09
@sbrunner sbrunner modified the milestones: 2.3, 2.4 Mar 7, 2019
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.

None yet

3 participants